dropdown list problem
How to bind dropdown list with database & how to show it on page instead of form ?? Please help becuase i am very newer to sitefinity....
Thnx in advance
I'm not sure about all of what you are saying, but I will try to help.
First, what do you mean by "show it on page instead of form"? Really, all of your server side controls should be inside of a form.
Second, if you are working with a custom control, (I assume you are) and using a standard drop down list, (not a RadComboBox, which works slightly differently) you need to override the OnPreRender event of your custom control, and set your drop down's datasource, then call databind as you usually would.
If what I've said above isn't quite enough, I would suggest you research .net databinding in general before trying to move ahead.
Thnx for reply but i got a question because i am very much new to sitefinity that how to make custom control ?? I am not using it.... Can you please provide me the way to generate custom cotrol ?? I will be very thankful.... I really want to learn this....