Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tomouse

    redirect from mastpage

    Hello, I have code on the page_init method of my masterpage that picks up the name of the logged in user and checks that this user is stored in the database. If the user isn't found in the database I want to display the content page "UnknownUser.aspx". However, redirecting to this page (using...
  2. tomouse

    'Graphic free' CSS buttons containing asp label

    Good point about the search engines. Now I just need to persuade my client that they don't want rounded edges on their buttons ;)
  3. tomouse

    'Graphic free' CSS buttons containing asp label

    I picked this up as an example of this sliding doors method of making a flexible width button which would adjust its width according to the text that sat within. I adjusted a few of the values to fit my specific button graphic, but I haven't made any additions. To be honest I find the whole CSS...
  4. tomouse

    'Graphic free' CSS buttons containing asp label

    Wow, a great example of how explaining a problem 'out loud' helps triggers you to come up with a solution. I started comparing the HTML rendered for button with the hardcoded label <a id="imbSearch3" class="buttonO" href="#" onclick="javascript:ClickedClient(this...
  5. tomouse

    'Graphic free' CSS buttons containing asp label

    Hi Keith, When you say "that sort of thing" is normally handled server-side, are you referring to the insertion of the correct string according to the language that the user has selected? Currently this *is* being done on the server - the Text="<%$ Resources:ResourceFilename, stringKey %>" is...
  6. tomouse

    'Graphic free' CSS buttons containing asp label

    The display:block; and Float:left appear to help position the two graphics - without these the button appears to explode! Also, I just noticed I forgot to correct the last section of the CSS - the padding for the version that works with the hardcoded label should have been: 5px 0 5px 18px
  7. tomouse

    'Graphic free' CSS buttons containing asp label

    I manage a multilingual website and am trying to replace my ASP imagebuttons with CSS versions. Currently, each time we add a new button we have to create 2 new graphics (One with the text in English, the other in Portuguese) - it would be far better to do away with these graphics that include...
  8. tomouse

    Hide cascading dropdown if no results returned

    OK, in case anyone else stumbles across this in future, the following provided me with the solution: http://www.codeproject.com/KB/ajax/incdd.aspx?msg=2357845
  9. tomouse

    Hide cascading dropdown if no results returned

    Wes, thanks very much for all your efforts to help me. I'm still not clear on a couple of things: 1. Why do you use "New Textbox" as the first (type) parameter? 2. What calls this Populate function and when? Cheers, Tom
  10. tomouse

    Hide cascading dropdown if no results returned

    (The code snippet in my last mail was from the Masterpage)
  11. tomouse

    Hide cascading dropdown if no results returned

    Sorry if I'm being a bit slow here, but how do I register the scripts with the script manager? Do you mean like this: <asp:ToolkitScriptManager ID="TSM1" runat="server" [...] EnableViewState="true" EnablePartialRendering="true" /> <asp:ScriptManagerProxy runat="server" > <Scripts>...
  12. tomouse

    Hide cascading dropdown if no results returned

    This sounds promising! But I have a question: when I have used RegisterStartupScript before, it has been to actually *trigger the call* of a clientside script from a code behind event. However, the event in this case is the user clicking the City dropdown on the clientside (which triggers the...
  13. tomouse

    Hide cascading dropdown if no results returned

    Sorry, I replied before I read your second reply! :) Javascript is something I'm working at but I'm still learning. Would registering the script in the code behind address the issue in my last mail? Would this then run after the webservice had returned values to the hotel?
  14. tomouse

    Hide cascading dropdown if no results returned

    Hey Wes, thanks for your reply. This is similar to the approach I was taking last night - I was running a javascript function after the user clicked the City dropdown to check if the Hotel dropdown was disabled. However, it seems that the check of the Hotel dropdown occurs before the data from...
  15. tomouse

    Hide cascading dropdown if no results returned

    I have Ajax cascading dropdowns working well - I select a country and it returns the cities for that country, I select a city and it returns the hotels for that city. However, now I have a request that if no hotels are returned for the city, then the hotel dropdown (dplHotel) should be hidden...
  16. tomouse

    Custom graphics with overlaid text?

    Wooo, this is great, thanks!
  17. tomouse

    Custom graphics with overlaid text?

    Hey Jason, thanks for this. I guess using CSS is the way I was thinking it might be done. But I have had a few issues where I'm developing/testing in IE8 and get everything looking nice, then I check it in IE7 and things look wonky or out of alignment. And then there's Firefox, Chrome, etc. But...
  18. tomouse

    Custom graphics with overlaid text?

    I have a website which I recently made bilingual. All translatable text is held in resource files. For graphics that contain translatable text (such as buttons and page titles), we have a version for each language and path to each language graphic is held in the resource file as well. This all...
  19. tomouse

    Email link with protected query string data

    Yeah, that's way better. Thanks Jason.
  20. tomouse

    Email link with protected query string data

    Hi, My asp/VB.net website needs to send out emails which will contain links. The links will take the recipient to a specific order that is saved on the website. I can link to the page using Request.ServerVariables("SERVER_NAME") and Request.ServerVariables("URL"). And I could add a link to the...

Part and Inventory Search

Back
Top