Hi, I having trouble with assigning dynamically checkbox's Checked value using values from a datatable. Here's my code How can i automatically convert the field Enable which is from datatable so it will be assigned as Checked's value? That field's type is bool and values 0 or 1. Many Thanks! :)
grewin
Posts
-
Invalid typecast with checkbox checked attibute using DataBinder.Eval -
How can i remove pipe character in string using regexI already got the answer. /^[|]/ - is the right regex that will match the first pipe in a string. thanks to [gskinner]
-
How can i remove pipe character in string using regexHi, Good Day! I have a string, say '|abc|def|ghi|'. How can i remove the first pipe character in that string using regular expression? Thanks, ewin
-
Globalization and Localization IssueHi all, I have an old project that have to be integrated to a new one, the issue i encountered is about Globalization and Localization, the old project uses .resx files for local resources and the new project uses database to store resources. Can i use database and resx files as resource storage at the same time? when the project share only one config? if not, can anybody have an idea how the two ways will work? Or there's no other choice but to transfer to database all the items in the 50+ resx files? :doh: thanks alot! -ewin :)
-
Response HeadersEddy, thanks, i saw that our website already using the concept you suggested, you just enlighten me. haha thanks alot! -ewin
-
Response HeadersHi all, Is there a way that i can use inline and attachment at the same time in content-disposition for Response Headers? i have code like this
HttpContext.Current.Response.AddHeader("Content-disposition", "inline; filename=__aaa.pdf");
I want to open the file first in the browser and then open the dialog box for download as well. How can i do that? I tried to AddHeader again after that line of code and replaced the "inline" with "attachment", but that didn't work. Please help me. Thanks alot! -ewin :)
-
Response HeadersHi all, Is there a way that i can use inline and attachment at the same time in content-disposition for Response Headers? i have code like this
HttpContext.Current.Response.AddHeader("Content-disposition", "inline; filename=__aaa.pdf");
I want to open the file first in the browser and then open the dialog box for download as well. How can i do that? I tried to AddHeader again after that line of code and replaced the "inline" with "attachment", but that didn't work. Please help me. Thanks alot! -ewin :)
-
Can't create Reporting Services Projectthanks. ah you are saying i have to change the asp .net version? but there's no project that has been created, no .sln file or anything, as in no project at all. I can't open the existing files/projects, that i've created before, so no build/compilation, and i can't assign or create also a virtual directory for it. When i chose the New>Project>Business Intelligence Project>Report Server Project that error message comes out that leads to no creation of project at all.
-
Can't create Reporting Services ProjectHi all, I've installed SQLServer 2005 in my pc with its Reporting Services. I used it for months and i can create Reports, but this last month, we install SQLServer 2008, VS 2008 and .NET 3.5 framework. I installed all these components with out uninstalling the lower versions. Now, i tried to create again a new Reporting project in VS2005 but it gets me an error and i can't create new report project, nor can't open an existing reporting service project. This is the error: "Method 'get_UserContext' in type 'Microsoft.ReportDesigner.Project.ReportServerInformation' from assembly 'Microsoft.ReportingServices.Designer, Version 9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation." I tried to goggle but can't find anything explaining that error. Am i correct, maybe there's a conflict in installation? And i can't find the way to uninstall the Reporting Services. I tried to install it again, but it only stated, that the component is already installed. Please can anyone help me. And send me a way to resolve it? THANKS A LOT! Regards, Ewin
-
Reporting Services table KeepTogether propertyThose properties are unchecked also. The table work well when the data can be accommodated on one page but when the data exceeds, that's the time it is printed on the next page. I also looked at the KeepTogether properties and see to it that i assigned it false.
-
Reporting Services table KeepTogether propertyYep, I've unchecked those properties. Maybe it's because of the structure of my page? I used a subreport as its header and the table which is in the body, is composed of header part and ONE Group Row where the data is listed. This group row is composed of another table with a group row also. To make it short, i used nested groupings. And now i think those things are the cause why the whole table is printed on the next page. :c Still don't know what to do.
-
Reporting Services table KeepTogether propertyThanks for the reply. But there's no 'Allow Grid or Allow Table to be broken apart' property in SSRS.
-
Reporting Services table KeepTogether propertyHi all, Am i on the right forum for my questions? If not please lead me to the right one. Thanks a lot. If Yes, We are having trouble in creating right format for our Reports/Report Templates using Reporting Services. We used table element in rendering reports data. At first it satisfied our needs but apparently as data gets longer, the whole table we’re being pushed to the next page, leaving the first page blank. I just want to ask if there’s other work around for this problem. In our experience using List element is not applicable,because its keep together property is worst than the Table element. We already checked the page size and i think it's not the problem because the problem occurs when there are too many data on the table. As in design, the whole page is composed of Header which is a sub report, then the whole table itself with groupings and all that stuff. Can any one have some work around in mind? thanks for the help. Can any one knows an email address of a particular person where i can ask these questions? Thanks a lot! :) I'm not desperate for this one, but i do need an answer. :) EWIN
-
register trade mark signi can't use any html tags. I need that trademark in the title attribute of sitemapnode, and i think you can't put any html tags inside that?
-
superscript register mark signHi again... What i really need is to add a superscript trademark sign in title of one sitemapnode in a sitemap. i tried to add "&_#_0174"(eliminate the underscore _ ) but it has an error, i think you can't add other html tag inside a ? I also tried to delete the tag but the trademark sign is not in superscript form. can anyone help me? Thank's a lot! Ewin
-
register trade mark signeliminate the underscore on my last post. thanks!
-
register trade mark signHi all. Anyone who knows how to make the register mark (®) superscript? i tried to use ® but it's not in superscript form. i can't use the tag of html, so disregard that option. Thanks a lot! ewin Clarification: i tried to use &_#_0174 but it's not in superscript form.
-
register trade mark signHi all. Anyone who knows how to make the register mark (®) superscript? i tried to use ® but it's not in superscript form. i can't use the tag of html, so disregard that option. Thanks a lot! ewin
-
pass a databinder.eval as parameter for a javascript function...hi all, How can i call a javascript function from onclick event and pass a parameter something like this "<%# DataBinder.Eval (Container.DataItem, "Description") %>" here's my code, i tried it, but there's an error, syntax? OnClick="javascript:EventCall("<%# DataBinder.Eval(Container.DataItem, "Description")%>");" /> i tried googling but still can't find the right one. Thanks a lot! -- Ewin
-
Calling function from one webpage to anotherHow can in WebForm1 the function in WebForm2? i try WebForm2. and look up for other overloads, but i get view the function. Any one can help. A big thanks!