Dynamic window title

  1. #1

    Dynamic window title

    I'm trying to set a window title dynamically on page load. I want the text to come from a combobox showing the selected text. I can't for the life of me figure this out. Any help would be appreciated.

    Thanks

    Phil
  2. #2

    RE: Dynamic window title

    Hi Phil,

    Can you post a simplified .aspx code sample demonstrating how you currently have things configured? The Window has a .Title property, but the setting the value based on a value entered by a user in a ComboBox is not possible until after the initial Page_Load. So, you would have to update the Title either client-side, or make a request back to the server, after initial Page_Load.


    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: Dynamic window title

    Thanks Geoffrey, that makes sense now. I've been trying to do it on page load. However that is before any user interaction with the combobox. The combobox displays a value corresponding to the user's department after logging in. I will have to perform a post back after the page loads.

    Cheers

    Phil
  4. #4

    RE: Dynamic window title

    Hi Phil,

    Thanks for the update.


    I would recommend avoiding the PostBack and tap into an AjaxEvent (DirectEvent in v1.0) instead. An AjaxEvent basically performs an "Ajax PostBack", and avoids having to do a full refresh of the browser page.


    Hope this helps.


    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Dynamic Panel Title
    By pint in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 23, 2012, 6:25 AM
  2. Dynamic StartMenu Title
    By archana in forum 1.x Help
    Replies: 1
    Last Post: Dec 29, 2011, 2:31 PM
  3. Replies: 5
    Last Post: Jun 19, 2009, 6:38 AM
  4. Window Title Question
    By bruce in forum 1.x Help
    Replies: 3
    Last Post: Mar 09, 2009, 5:21 AM
  5. setting dynamic Title to Tab panel
    By raks in forum 1.x Help
    Replies: 0
    Last Post: Feb 19, 2009, 9:04 AM

Posting Permissions