Hi All,
(Don't be afraid of length of the content written by me as i needed to do that to depict the exact scenario. :))
Well before i actually state my problem here, i may first confess that i am new to Asp.Net 2.0 with ajax enabled website. Now the scenarion/situation is we are building an application which would be including Ajax abilities in it. and that application may include User- Controls which will represent the indvidual documents on the run time. Now there are many documents (User Controls) which may have more than say 50 or 100 controls in it. Now the first problem is regarding Databinding in Asp.Net web application, How we can do Databinding in asp.net 2.0. I may clear out this thing first that by Data binding i mean Binding the textboxes to Dataviews associated with Dataset as we do in case of windows application (TextBoxLastName..DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataView, "LastName")) i can guess out that there won't be simple way in web app. but there must be some or the other way to do databindings. We also want to use typed Datasets in this app. Already we have gone through the some controls of Asp.Net 2.0 such as Form-View but either i was not able identify its usefullness or it really din't help me much in my scenario. what we are temporarly doing is that we are extracting the values of each control indvidually and putting them in Dataviews, which is causing us to write loads of code. So i was seeking some way out of this writing this huge bundle of code again and again in difeerent forms. Hope any one of you could help in this.
The second problem (rather unawareness) is regarding Update Panel. I actually wanted to know the advantages & diadvantages of using update panel. Does it only causes page to stop flickering but in background all data as well as controls are posted back. Is it this way? More over we are having a master page we placed 2 update panel. One for some Control on the top and other for the content page. Now when any where in the content page a button is pressed dropdown on the another update panel is flickering (which seems it is reloading), now this thing makes me think , then what is the use of update panel then?
I know i have written a lot of content to depict my problem but i need to actually make myself understandable. I hope some one will help me on this!
Thanks & Regards
Piyush