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...
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...
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...
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...
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
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...
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
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
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>...
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...
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?
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.