How to change the position of an applet on an asp.net page without reloading the applet? I tried to do it with the help of css but the applet starts its (startup) operation after the css style class has been changed.
I have a signed java applet. It gets some data from a client PC then a user clicks on a button inside the applet and it must trigger some changes to the web page.
For now after the button inside the applet was clicked the applet puts a new url to the parent window that is the same url but with a parameter "?results".
The problem is that even if if will find a way to pass data from applet to the web page with out the usage of url, the applet still reloadsd, for instance if I just change the class of style of the applet to change its position on the web page.
Maybe it is possible to store the data from the applet (hashmap) in RAM and then the applet would check if that data exists when it (or the whole page) reloads?
Try opening the page in design mode. Sometimes that will regenerate the designer file. If that doesn't work then delete the *.designer.cs (or *.designer.vb for those developmentally challenged) and reopen the file in design mode to regenerate the file.
Above are the Sql rows and if my function finds null for the ID=123 as 9 of col3 then i need to locate for before id's rescol and if that also find as null then i need to fetch for the above row of 121, like this till i am not getting res col as null i need to fix a loop how can i do this?
In try catch block i am handling the above mentioned functionality as if i get error my catch block will call its above row's rescol value. but how many catch block i will put here because the rows are dynamic and unknown how many catch i will get executed.
Wow. A triple post. I would suggest you need to learn about how things work here. Read the FAQs and gain some insight into why you are being downvoted. There is no intent by anyone to "insult" you. The people downvoting you do not know you, they are simply critiquing your answers based on the content and the forum rules. I would suggest you take the advice provided.
I am working on trying to load some control code that is saved in a text file. The code is constructed of ASP.Net controls but could consist of any type of control from PlaceHolder, LliteralControl, TextBox, etc. How can I load this into a control located on the page?
for example, I could pull this from a file or database.
If you want to use DataBinding like this you would need to convert each datasource to use the same columns, with the same names. Not a bad thing. If the datasources will all have different columns with different types you may want to use a DataGrid and set AutoGenerateColumns=true;
Otherwise, you will need to manually add ITemplates to your repeater based on the selected datasource
yes I had set the autogenerate columns as true and it works fine.
Issue is I also had a jquery to select the selected row value and it ended up having lots of magic numbers for the colums in different states. Very difficult to understand and maintain. I want to access dataItem value on row click and hence trying to map dynamically .
I have different jQuery UI Modal dialogs on a webform. I need to emulate validation groups on each UI Modal so I was trying server side validators because I could not emulate validation groups with jQuery. I did not knew about page_validate previously. What do you suggest ? Should I just fire the server validation groups with Page_Validate or do I use a separate plugin ?