- Home
- Forum
- ASP.NET Web Forms
- How to access DataSource Property?
How to access DataSource Property?
Hi,
I just start new application using the Grid but I'm unable to access DataSource for.
Of course it's pretty simple as you can see in the samples and eg. here https://www.syncfusion.com/forums/140411/auto-generate-column-always-show-message-when-datasource-null for a similar topic but when I enter Grid2.DataSource I get an error for.
Available propery are DataManager, DataManagerID and DataSourceCachingMode but no DataSource?
Maybe I should mention that I haven't developed for more than 10 years but anyway when I compare your samples it looks pretty like in the past.
How can I access DataSource?
Thank you!
Andre
SIGN IN To post a reply.
3 Replies
PK
Padmavathy Kamalanathan
Syncfusion Team
March 16, 2020 07:13 AM UTC
Hi Andre,
Thanks for contacting Syncfusion Forums.
QUERY: How to access DataSource property
You can access the "'DataSource" property of grid with the grid's "id" in the server end and bind datasource to it.
We have prepared sample as per your requirement. You can download the same from the below location,
Still facing the issue, please get back to us with the below details,
1) You have mentioned that you are getting error when you try to access "Grid2.DataSource". Please share us the screenshot of error with the stack trace.
2) Share the complete grid rendering code (both client and server end)
3) Share your Essential Studio Version details
4) If possible, please reproduce the issue in the sample provided above and share us.
5) Video demonstrating the issue
Regards,
Padmavathy Kamalanathan
Hi Andre,Thanks for contacting Syncfusion Forums.QUERY: How to access DataSource propertyYou can access the "'DataSource" property of grid with the grid's "id" in the server end and bind datasource to it.We have prepared sample as per your requirement. You can download the same from the below location,Still facing the issue, please get back to us with the below details,1) You have mentioned that you are getting error when you try to access "Grid2.DataSource". Please share us the screenshot of error with the stack trace.2) Share the complete grid rendering code (both client and server end)3) Share your Essential Studio Version details4) If possible, please reproduce the issue in the sample provided above and share us.5) Video demonstrating the issueRegards,Padmavathy Kamalanathan
Hi Padmavathy,
thank you - with your sample I can make it easy work anyway my first test still does not work but I use your sample as base.
Regards,
Andre
PK
Padmavathy Kamalanathan
Syncfusion Team
March 18, 2020 04:51 AM UTC
Hi Andre,
We are glad to hear that your issue has been resolved.
If you have further queries, please get back to us.
Regards,
Padmavathy Kamalanathan
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
AN Andre
- Mar 15, 2020 08:24 AM UTC
- Mar 18, 2020 04:51 AM UTC