iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am trying to create a profile viewer (similar to the example with the google maps) with the exception being the data is dynamic. I am hoping to have a list of profiles as WebExpanderItems (showing picture, user name via a header template) and when each one is expanded, the content is shown to the right again using a content template showing dynamic data.
What has been killing me, is loading the headertemplate and content template via the page_load method as nothing shows. If I dont use a template for the header, I can get the username only to show, but expanding the content shows only an empty box.
Any assistance here would be greatly appreciated as I am relatively new to asp.net and very new to the intersoft controls.
Thanks heaps.
foreach (DataRow lcDataRow in lcData.Rows){ WebExpanderItem lcItem = new WebExpanderItem(); lcItem.Header = lcDataRow["username"].ToString(); TemplateBuilder content = new TemplateBuilder(); ///Snipped out the building of the template. lcItem.ContentTemplate = content; lcItem.Name = lcDataRow["username"].ToString(); WebExpander1.Items.Add(lcItem); }
The above code is very similar to what I am attempting to achieve.
I have snipped out the actual building of the template as this seems irrelevant. It doesn’t matter how I do it, using samples, loadtemplate() etc...
The end result is an empty header and content for each item from the database.
Let me know if you need more specific details and don’t apologise for helping me! I am so very grateful!
Thanks.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname