|
if you have only these options then use radiobuttonlist instead of checkboxlist.
If you still want to use the checkbox then you have to write a javascript code for onclick and check which checkbox was clicked and uncheck all other checkboxes.
-----
|
|
|
|
|
You should take radioButton list insted of checkbox list.
If client select both there is no need to select car or bus.So u can achive this by radiobutton list
Best Regards
Pathan
GOD HELP THOSE WHO HELP THEMSELF
|
|
|
|
|
|
I want users to enter only character value into textbox for UserName. I dont allow users to enter any numeric value.
Please help me
|
|
|
|
|
use the onkeypress function and return false if character code does not fall in alphabets. You can get the code range by alert(event.keyCode()). key code is different for small and capital letters. I think they start from 64 to 92 but I am not sure you can alert them.
-----
|
|
|
|
|
Keep a RegularExpression Validator for your TextBox .
For Eg:Add the following line below your text Box in the source View.
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Enter Only characters" ControlToValidate="YourTextBoxID" ValidationExpression="^[\w]$" />
Koushik
|
|
|
|
|
I have three update panels with conditional updatemode. First paneld containt navigation buttons and dropdownlist for paging. Second panel contains sortable datagrid with and edit/view button in last column and triggers fired by the nagavtion buttons. The third panel contains a form to show the details on clicking the edit/view button in datagrid.
Most of the times all these are working fine. But some time onclicking the navigation buttons (first panel) the whole page flickers. Can someone tell me why?
Secondly whenever I edit any record by clicking on edit/view button, it shows me details fine. But right after that if I sort the grid, the whole page flickers instead of the second panel only. And it happens everytime I sort the grid after clicking on edit button. Second sort works fine?
Thanks in advance.
WELL: I just tested in firefox and it is working just fine in firefox. So I quess it is IE stupid stuff..
-- modified at 11:58 Monday 12th March, 2007
-----
|
|
|
|
|
My guess would be a) your using IE which has some horrible page flicker bugs in it and b) it occurs because most of the page is being updated (ie more than one panel), for smaller page updates you probably won't notice it. Does sorting the grid also update the third panel? I would of thought so...
|
|
|
|
|
I think your first guess might be true.
Your second is wrong because it is not updating all panels, it only updates the panel which I call panel.update or which have triggers. So updating is working fine only flickering of page is a problem that happens randomly. Most of the time it is working just as expected.
Thanx for your response.
WELL: I just tested in firefox and it is working just fine in firefox. So I quess it is IE stupid stuff..
-----
|
|
|
|
|
Hi
I downloaded the code of 'Switching Between HTTP and HTTPS Automatically '
from code project and trying to run it but it is giving me error
as
File or assembly name WebPageSecurity, or one of its dependencies, was not found.
in
<add name="SecureWebPage" type="Hyper.Web.Security.SecureWebPageModule, WebPageSecurity">
in web.config
If it is require a change in code,please let me know.
Swapnil Bhavsar
|
|
|
|
|
Hi
I have a simple asp.net page that contains link and open reports in pdf file on browser. I do have authentication to check user window log in for access to diff reports. But how do i avoid user to physically type in the path to view the report on browser?
Thanks
Nancy
|
|
|
|
|
i am using modalpopup control in ajax when panle pops up how to disable back page???
in my case it is enabled
|
|
|
|
|
I want to change the location or position of the control at runtime.
Mohinder Singh
|
|
|
|
|
use panels or divs or table and then use
panel1.Controls.Add(panel2.FindControl(controlID))
-----
|
|
|
|
|
Hello
I started a little web project, where the users can register and make their own sites.
Now i want, that the User can access his personal site directly over the path http://xy/[Username] like many other sites. For example http://www.myspace.com/userX
But I don't know how to make that dynamic? Sure there is a possibility without create a directory, create a virtual directory and put a index file into it, for each user.
Probably it has not a lot to do with c# (I program into ASP.NET with c#). I'm sure someone here can help me?
Thanks for your help
Yours sincerely
|
|
|
|
|
try googling 'URL Rewriting'. i think this is exactly what you need.
- walter
|
|
|
|
|
Hi there
I want to use a session variable to store the user_id, and then redirect to another page. the problem is, that when i get to the redirected page, in the page load event, the session variable is not there (when put onto a textbox). only when the page is refresed (F5), can i view the user_ID on the textbox.
Can anyone help me with this problem?
Thanks
|
|
|
|
|
I havnt got ur problem.
What u want to do?
Please specify with code
Best Regards
Pathan
GOD HELP THOSE WHO HELP THEMSELF
|
|
|
|
|
Are you sure your code is running on the intial hit of the page?
|
|
|
|
|
hi,
i have a javascript function which performs some operation. on completion i want to return an array and this array should be assigned to a session!!!
lets say iam calling this javascript function by using the onclick event of a html button how shall i proceed???
this func1 should return an array and this shld be assigned to a session is this possible???
Gautham
|
|
|
|
|
It's simpe to return an array from a js function, just use the return keyword!
Unfortunately, it's impossible to directly set session using client scripting - you'd have to implement some custom code to do so
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi folks
This is my first ever question on this site! Hope I get an answer.
Visual Studio 2005. ASP.Net web application (VB).
I have 2 Web User controls on a page. The top control has an AjaxCalendarExtender on it. When the page is displayed (run-time) and I click on the image to display the calendar, only part of the calendar is displayed. The bottom half is hidden / cut off by the web user control underneath it. i.e. the calendar doesn’t overlap the bottom control.
I also have a drop down on the top control, and this overlaps the bottom control no problem.
I have no Divs or Spans in either of my web user controls' HTML.
Any ideas? Obviously I could make the top control larger so it fits, but that leaves an unacceptably ugly gap between the 2 controls.
Any thoughts appreciated…
Jools
ANSWER: -
.ajax__calendar_container { z-index : 1000 ; }
-- modified at 9:07 Monday 12th March, 2007
|
|
|
|
|
You could try giving your calendar div/calendar control a larger z-index in the sytles.
The drop down list overlaps because it doesn't use z-index in it's display...
|
|
|
|
|
That's done the trick. I added this to the control & it seems to have worked.
.ajax__calendar_container { z-index : 1000 ; }
Thank you..
Jools
|
|
|
|
|
Some code would help, and what browser this problem appears in. I've have had this same problem with IE and it came down to an animation extender with an OpacityAction. This was setting a filter: CSS property, check you don't have that in the parent elements style anywhere. Could also be caused by the overflow property, or with position:absolute or fixed. Where the elements appear in the markup and their z-index properties can also have an effect on how they are painted in the browser.
Theres been a myriad of bugs found in the Calendar extender, most of them still not 100% fixed. Try the latest control toolkit version and see if that helps.
|
|
|
|