CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.faq_frequently_asked_questions Tags:
Item Type: NewsGroup Date Entered: 5/19/2007 5:03:31 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 70 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
Piyushg
Asp.Net User
Databindings in Asp.net and Use/Advantage of update panel (with ajax Extension)5/19/2007 5:03:31 AM

0

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

Hong-Gang Chen
Asp.Net User
Re: Databindings in Asp.net and Use/Advantage of update panel (with ajax Extension)5/22/2007 6:54:34 AM

0

Piyushg:

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

Hi Piyushg, 

We have a forum designated for AJAX and I suggest you posting your question there. I believe you can get better help there.  Please click the following link:http://forums.asp.net/default.aspx?GroupID=34,

Hope it helps,

Hong Gang


Sincerely,
Hong Gang Chen
Microsoft Online Community Support
Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
kaushalparik27
Asp.Net User
Re: Databindings in Asp.net and Use/Advantage of update panel (with ajax Extension)5/22/2007 8:35:12 AM

0

hi friend...

regarding update panel.. i found a link.. i dont know it would asnwer your question or not ... but its similar...

 http://forums.asp.net/p/1111647/1715032.aspx

 

hope this helps.. 


Thanx,
[KaushaL] | Profile | Blog
Dont forget to click ?Mark as Answer? on the post that helped you.
This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers.



"I would love to change the world, but they won?t give me the source code"
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:




   
  Privacy | Contact Us
All Times Are GMT