Search

You searched for the word(s): userid:725394

Matching Posts

  • Should object source be set in master while Parameter set in Child? Possible?

    Looking for some advice... I'm working on a new website. I've set up a master page. Each child page will have a section of related links. My thought was to create the data source in the master page since each child page will use it. However I am setting the parameter for the query within the child (a levelid to look up what the related links are). I'm having trouble figureing out how to reset the parameter in the master for the data source and getting the query to execute with that new
  • Re: Accordion: Swapping Header Image when section selected

    Thanks for the suggestion. Definately a more simple approach by using CSS. In the case I was using my images were stored in a database. I'm not sure how you pull those images from a database using CSS.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 7/23/2008
  • Can the default select parameter be set in child for object data source in Master Page?

    I'm trying to keep the objectdatasource and datalist in the master page. But, I want to set the defaultvalue for the select parameter in the child page. I'm not having much luck. Does anyone have a sample of how to do this or a suggestion? Thanks in advance for any advice! Object Data Source and Data List from My MasterPage.... < asp : ObjectDataSource ID ="ods_PageLink" runat ="server" SelectMethod ="GetPageLinks" TypeName ="dsPageLinkTableAdapters.GetPageLinksTableAdapter">
  • Re: Accordion: Swapping Header Image when section selected

    Maybe this will help, I accomplish the task I wanted, but with hardcoding. Obviously I don't want to hardcode the reference to the header since that can change over time and is dynamically generated by ASP.NET by using the accordion control.... function swapImagesOnClick(ImageId,ImageIdOn,ImageIdOff) { var Img=document.getElementById(ImageId); var ImgOn=document.getElementById(ImageIdOn); var ImgOff=document.getElementById(ImageIdOff); //Since the user clicked this header set its image to the
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/10/2008
  • Re: Changing an Accordion Image Header when selected

    Ooops, didn't realize I had posted this question twice, here's the active thread: http://forums.asp.net/p/1242295/2290308.aspx#2290308
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/10/2008
  • Re: Accordion: Swapping Header Image when section selected

    Johnathan, Thanks for your reply. In theory, yes, I understand what you're saying. But, I was having trouble translating the theory into practive. Especially, since I am using a value in the query string to compare to a data row for the header and a data rows for its children (the links below the header). Here's what I wanted to accomplish: 1. Using a value in the query string, set the accNavMenu.selectedIndex 2 When clicking a header, swap the image from light to dark and vice versa AND
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/10/2008
  • Re: Accordion: Swapping Header Image when section selected

    I am still having trouble getting the header image set properly on initial load. The current level we're on is store in query string. As I go thru the second level items in my accordion I compare their level to the query string. When they match, I know this is the selectedindex for the accordion. At this point, I need to also set the header to a darker version so it looks activated. Having trouble figuring out how to reference that header. Any suggestions would be greatly appreciated! Protected
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/9/2008
  • Re: Accordion: Swapping Header Image when section selected

    I did get the Accordion Header image to swap out when the header is clicked: <ajaxToolkit:Accordion ID="accNavMenu" runat="server" OnItemDataBound="accNavMenu_ItemDataBound" FramesPerSecond="40" TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="false" HeaderCssClass="accordionHeader" ContentCssClass="accordionContent" > <Panes></Panes> <HeaderTemplate>
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/9/2008
  • Re: Accordion: Swapping Header Image when section selected

    Johnathan, Thanks for your reply. I had considered and attempted both suggestions prior to posting my original questions. I'd rather use the javascript option. However, even if I use the javascript onclick for the header image, I still have to set which header is initially using the "on" image, and leave/set the other two to use the "off" image. This can only be done in the rptLinks_ItemDatabound Event because I am comparing an id carried in the query string to the second
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/8/2008
  • Accordion: Swapping Header Image when section selected

    Hoping someone has experience with this (seems like a common thing to do) and could point me in the right direction. I've got an accordion that gets generated from my database. I've got it working, but I want to swap the header image out when the section changes. Here's what the accordion looks like: Research (Image) Product Line (link) Performance Bulletins (link) Shopping (Image) Search Inventory (link) See Mfg Website (link) Fun (Image) Fishing Clubs (link) Fishing Seminars (link)
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kabrown on 4/2/2008
Page 1 of 3 (30 items) 1 2 3 Next >