Hi all, I'm trying to load a UserControl inside another UserControl using LoadControl in the "OnInit" event-handler of the page.. The problem is that if I clicked a button then pressed refresh for the page the event-handler of the button is automatically called again.. Any idea how to solve this?? Thanks a lot :) PS. I'm using ASP.net 2.0
happyheartcs
Posts
-
Loading controls dynamically asutomatically calls buttonBlick Eventhandler -
Securing Access to downloadable softwareThe problem is that I'm using SQL Server 2000 so the size of the software will be much larger than the size of a binary column in the database.. Any Clue?? Thanks a lot
-
Securing Access to downloadable softwareHi all, How can I offer the functionality 4 a software to be downloaded after purchasing it (instead of shipping it).. The problem is that I want a secure access to the software so that only the people who purchase it can download it (only once for each customer), not any1 who knows the URL can download it.. Thanks a looot in advance
-
Inserting data into MySQL from .NetI'm using mysql 4.1 The original data doesn't contain '?????' & yeah my connection string looks like u said :( Any clue?? Thanks a lot
-
Inserting data into MySQL from .NetHi All, Actually I was't sure of which message board to choose. Anyhow, my problem is that I select arabic data from MySQL table into a DataTable in VS.net but when I try 2 insert the selected data, it inserts it as '???' though I chose the "utf-8"character set in connection string. It's just that when the records are fetched to .net table, they are transformed to "???" Any clue how 2 solve this?? Thnx a lot in advance
-
Number of lines in a label controlHi everybody, Does anyone know a way to force the number of lines in a label control. For example I don't want the number of lines to exceed 4 lines & if the text is longer than that,it gets cut (cuz actually the label is inside a datagrid & I don't want the text to increase & scrolls to appear) Thanks aloot
-
How can I make tables align in Opera & FirefoxHi Guffa, I also tried it in the style ( style="height: 100%" )in the TD & TR but all in vain.. So any idea what can solve this problem??
-
How can I make tables align in Opera & FirefoxHi All, I have a problem in Opera & Firefox.. I have to tables in my aspx page (actually they are two controls) and I want there bottoms to align with each other in the page so I added a row at the end of the table & set its height to 100% & this works fine in Internet Explorer but in other browsers it doesn't do anything and when I set the height in pixels rather than % the other browsers then see it but the height is dynamic & so I can't fix it in pixels.. So what should I do :(
-
Publish website (DLL generation)Hi all, I recently converted a webproject into ASP 2 & I found a problem in generating the DLL. When I choose to "Publish website" to generate the DLL, it generates many errors in the HTML, though when I built the website it was successful.. So is there any way that I can generate the DLL regardless of these HTML errors??
-
Maximum Attachment SizeThanks again Robert :)
-
Maximum Attachment SizeThanks again Robert. Actually I create a PDF file in the code,the file is placed on the server but after it is created,it's added automatically to source control..This doesn't happen in VS 2003 though I didn't change anything when converting the project to VS 2005 so I just want to remove a specific folder in the project from the source conttrol (Visual Source Safe) How can I do that??
-
Maximum Attachment SizeThanks a lot for your response..Actually the file is located on the server. Is there anything else I should change??
-
Maximum Attachment SizeHi Everyody, I want to know what determines the maximum attachment size in an ASP2 web application. I send an email from a web application & the attachment is about 2 MB. Whenever I try to send it from the Visual Studio 2005 project,it takes much time then gives me an exception saying that it couldn't be sent & timed out. It works normally in the VS 2003 application. Any Clue?? Thnx a lot
-
Build Number of DLLHi All, How can I change the build version of the generated DLL file in Visual Studio 2005 webproject?? I want it to be changed automatically each time I build the project. Thanks all
-
Migrating web Application to .Net 2005Thanks a lot :)
-
Migrating web Application to .Net 2005Hi All, I'm migrating a web application from .net 2003 to .net 2005. I need to know what I have to change manually in each page before I make the conversion because when I use the conversion wizard,many errors are generated. Thanks so so much
-
VSS on .Net 2005Hi All, I need to know whether Visual Source Safe works on VS.Net 2005 or not. I'm migrating an application from .net 2003 to .net 2005 & want to know how to use source control in .net 2005 Thnx a lot
-
Visual Source Safe alternativesHi All Does anyone know any good alternatives for source control of .Net applications other than Visual Source Safe Thanks a lot Regards, Happy
-
Printing a page from JavaScriptThanks a lot Brad So how can I set the size & orientation options in the CSS?? Happy
-
Printing a page from JavaScriptHi all I need to know whether I can change the printing options from JavaScript. For example when I call Window.Print() , can I give specify that I want it to be printed as landscape or to fit the page to printer margins.. Thanks a lot in advance Happy