I have added a CSS class to Selected Node Style Property of a TreeViewControl
But it's not working.I have given the appropriate path in the page.But the background of the selected node does not change.the CSS is just simple
While developing project in asp.net 2.0 using c#.
I used Collapsible panel extender, ajax control. But the problem is that ,When Panel is expanded rest of the page scrolls down .
I don't want this to happen, rest of the page should remain as it is.
Please suggest some solution.
Hi I developed a web application using 1280x1024 resolution. But the end user uses a different resolution which makes the page go into horizontal and vertical scrolls. Is there anyway I can make my webapp to resize based on user screen resolution?
I have some text in a textbox that is reading directly from a database. My application is supposed to allow user to update this text, so it directly affects in the database content.
Now in my text there are some special characters like : , ' href < >. The code works fine as long as the text data in the text box does not contain these characters. As soon as it encounters data with these characters it does not update the database, any suggestions to tackle this. I already tried, in web.config with no success
I have text box reading text content from database. When I change the text in the textbox and do update, it does not update in the database. I traced the problem to special characters like : and ' in the text field. When the text in the text field does not contain these special characters, it works fine. How to get around these special characters?
I have implemented nested gridviews with custom paging using Objectdatasource.
I want to allow the user to change the pagesize after initial display.
For that I have a text box to collect the "Records Per Page" and a Button called "Change" below the parent gridview.
If I give value in the "Records Per Page" textbox and and click on "Change" button, the same pagesize should be set for parent gridview and also for all the inner gridviews.
I have implemented the same in my code. But only the parent gridview's pagesize is changing.Though I am setting the modified pagesize for child gridview , it is not reflecting in my output. Always it displays records according to the initial pagesize I have set in the html part. Can Anybody come across this issue?
After entering username and password if user will directly prss Enter key without pressing tab or instead of clcking on "LogIn button"
further processing should start.
This is working fine in Internet Explorer but not in Mozilla Firefox.
Please suggest some solution.
Code snippet is as follows:
In Aspx.cs =>
txtPassword.Attributes.Add("onkeypress", "return clickButton(event,'" + btnLogin.ClientID + "')");
function clickButton(e, buttonid)
var bt = document.getElementById(buttonid);
if (typeof bt == 'object')
if (e.keyCode ==13)
if(navigator.appName.indexOf("Microsoft Internet Explorer")>(-1))
if(event.keyCode == 13)
Hello friends..i am using a repeater inside datalist. This is classifieds page displaying different categories like jobs, filmmakers, housing, etc ..Each of these categories have 1 or more subcategories..
I use repeater inside datalist. Each datalist is filled by category name and based on that repeater is filled.
the funcionality is working but the design is disturbed. Repeater may contain more or less items. if repeater contains less items than the neighbor then that much blank space is displayed.in Internet explorer.
In IE, it browser places each main item in a row.
In Firefox the design is disturbed totally.
how to remove this blnk space..
Please tell me..if u have suggestions...waiting