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 strongm 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

    ...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 replaced with the appropriate string during server-side...
  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

    ...font: bold 12px Trebuchet MS, sans-serif; height: 20px; margin-right: 6px; padding-right: 18px; text-decoration: none; } /* This is the closest I can make for the aspLabel version */ a.buttonO span { background: transparent url('../img/button_left.png') no-repeat...
  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

    ...it seems that the check of the Hotel dropdown occurs before the data from the webservice is returned, so I am not sure that this is th way. I feel that I need some way of intervening *after* the webservice has returned its values to the Hotel dropdown - but I have no idea if that is possible.
  15. tomouse

    Hide cascading dropdown if no results returned

    ...scroll(0,0);" /> </asp:PlaceHolder> </div> <div class="divForm" id="divHotel" style="clear: none;"> *<asp:Label ID="Label3" runat="server" Text="<%$ Resources:LocalizedText, hotelname %>" />: <asp:DropDownList ID="dplHotel" runat="server"...
  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?

    ...label I guess) superimposed over the top. My immediate reaction was that the difficult aspect of this would be to get a solution that would look *exactly* the same in all browsers. That's why we use graphics right? Anyway, I was just wondering what you other, more experienced people think...
  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