Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:21023
More Search Options
RSS Available
Matching Posts
Re: Populating menus programmatically using xmldatasource
Hi My xml file is working fine and I can use it to create menus on separate pages using xpath - not a problem. What I want to be able to and haven't been able to, is load the menu programmatically using an event to select the node of the file and also the databindings which at the moment mimic the structure created if the menu is populated manually. Does this make it clearer? I am after an example which shows me how to set the databindings for a menu in a code behind event. Thanks Bob
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BobC
on 3/26/2007
Re: Populating menus programmatically using xmldatasource
Thanks but neither of these links demonstrate creating a menu programmatically and based on a stand alone xml file rather than a sitemap. Bob
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BobC
on 3/26/2007
Populating menus programmatically using xmldatasource
Hi I want to develop a reusable page which contains menus which can be populated programmatically using an xml file. I can do this in design with no problem: < asp : Menu ID ="Menu5" runat ="server" DataSourceID ="XmlDataSource5" SkinID ="MainMenu"> < DataBindings > < asp : MenuItemBinding DataMember ="MenuItem" ToolTipField ="Tooltip" NavigateUrlField ="NavigateUrl" TextField ="Text" ValueField ="Text" /> </ DataBindings > </ asp : Menu > < asp : XmlDataSource ID
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BobC
on 3/23/2007
Re: Gridview dropdownlist updating
Peter The gridview I am using can typically have 10 rows, each of which contains readonly id field, name field and then two dropdowns -one the Test Entered For list the other a list of available time slots. There is also a test date field and a Mock Test result field which will contain the result of a query based on criteria from the Test Entered For list. Not all the rows have to be completed - it maybe that just two students will be entered for tests out of (say) ten. Ideally I would like to be
Posted to
Web Forms
(Forum)
by
BobC
on 11/2/2006
Re: Gridview dropdownlist updating
Jason Thanks for your reply. I don't think it is going to help too much as my problem is to do with updating all records at once rather than a row at a time but I will start looking at the gridview events to see if I can do anything with them. Bob
Posted to
Web Forms
(Forum)
by
BobC
on 11/2/2006
Gridview dropdownlist updating
Hi This is quite a complicated issue and I will do my best to explain it clearly. I have a gridview based on a table for some fields and user input for others which appends a record for each row changed at one go by using a submit button rather than at row level with a postback. There is a SelecteIndexChanged event which appends a stringbuilder with the sql for each row and then uses the submit button click event to insert every row into a table (this is a log table to record each change). The problem
Posted to
Web Forms
(Forum)
by
BobC
on 11/1/2006
Using XML as datasource from Access 2003
Hi I have been trying various options of using xmdatasource for populating a gridview. What I want to do is use an sql server table converted to xml. The only way I can do this in a way that can be automated is by opening an Access project and exporting the file to xml. The only problem is, the file won't work with any of the data controls, only the menu control and treeview which is not what I am really after. A sample of the file output from Access shows that it does'nt have any quotes
Posted to
XML and XmlDataSource Control
(Forum)
by
BobC
on 9/27/2006
Re: Menu display problems using Masterpage
Thanks for this. Because you had no problems I looked again at the code. I have a div style which was controlling the appearance of the menu. I tried dropping this and the flyout menus appeared on top of the adjacent text. I am now controlling the menu style using a skin file and everything is as it should be. Thanks for your help!
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BobC
on 8/10/2006
Menu display problems using Masterpage
Hi I have a master page with 3 content placeholders, Header, Sidemenu and Main. When I create a content page and place a menu in the Sidemenu place holder and text in the Main content placeholder, any second level menu items which flyout appear UNDER the contents of the text in the Main content holder obscuring the text. I have looked to see if there is a z-order property but I can't seem to find one. Any ideas?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BobC
on 8/9/2006
Dropdown in gridview Issue
I am using a gridview with one dropdown list which uses an event to update the underlying datasource when the value is changed. I also have another dropdown which is not contained in the gridview which will allow the user to change all the values in the gridview dropdown at one go to save them having to change each individual mark (this is a class register system). This is working at present but with a slight anomaly. I use the SelectedIndexChanged event of the dropdown outside the gridview to change
Posted to
Data Presentation Controls
(Forum)
by
BobC
on 6/27/2006
Page 1 of 5 (43 items) 1
2
3
4
5
Next >
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online