Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

asp:DropDownList mobile friendly

Hi,I need to optimize asp:DropDownList for mobile devices (ipad spaecially)that should open ipad own drop down instead of normal drop down list.I can see that text box is opening the ipadkeyboard.You...

View Article


*.aspx.Designer.vb Files

Why is it that I can create web applications on vb.net and sometimes I see *.aspx.Designer.vb files included and sometimes I do not. Is there a difference in web sites with these files and without? Are...

View Article


Dictionary not getting values from method

Hi, I have two methods that returns Dictionaries. Inside both methods I can see the Dictionary being populated and the return variables filled with their keys and values. The problem is when I call it...

View Article

Old question but still needs right solution

Hi all,I understand this has been discussed before but I am not sure maybe mine is a little bit different:I have a main page, click on add new comment button will open another page so user can input...

View Article

Having a problem creating an object from code behind

I need to make an object from code behind..something like buttonFor Example like thisLabel1.Text = "<asp:Button id=""Button1"" Text=""Test"" runat=""server"""<body><form id="form1"...

View Article


C# 4.5 Visual Studio 2012

How do I access my connection string programmatically?I have this and it returns null:string connString = ConfigurationManager.ConnectionStrings["dbConn"].ConnectionString;

View Article

Persisting Data Across aspx Pages

I know that I cvan persist data across aspx pages by using either querystring or session variable.Due to the confidential nature of data, I cannot use querystring and I have several fields that I want...

View Article

Not show one of the dropdown items

Hello,I would like to not show one of the items in my dropdownlist based on a certain condition, is that possible.In page load all the items are loaded in the dropdown. But when I do something, say...

View Article


Intranet site (ASP.NET 3.5) STILL requires username and password!!!!

Dear all,I have an ASP.NET 3.5 intranet website which was transferred to IIS 7.0 from IIS 6.0 recently. Users used to be able to log in to this site directly without username and password since Windows...

View Article


Logon control with IE 11

Our site has been working fine until users upgrade to IE11. Then, the logon control at the top of each page no longer work with IE11, although they worked fine with IE10, Chrome, Firefox.There was that...

View Article

Textbox data validation- Regex

Please help me with Regex to enter data in a textbox as follows:0/3.5/4.0/7.0/7.50…23.5h step 0.5

View Article

how to read the response string

I ma redaing the string in this way but it is showing the value, It is not showing the key name likeHttpWebResponse response = (HttpWebResponse)httpWReq.GetResponse(); string responseString = new...

View Article

restore the PromptText=" " in CascadingDropDown using vb code

I need help;How can I restore the PromptText="Select Country"  in CascadingDropDown using vb codei.e, in drop down list I can use ddlCountries.Items.Insert(0, New ListItem("Select Country ", "-1")).But...

View Article


using jquery to call onchange function causing full page postback when using...

$('#bn1').click(function () { $('#textbox1').change(); })<asp:UpdatePanel runat="server" ID="up123" UpdateMode="Conditional"><ContentTemplate><div style="margin-top:...

View Article

tree view experiences has lag time for different users.

My treeview control has nodes that expands when clicked, with a call to WebResource.axd?.  There is a lag time in this expansion depending on the end user's location.  The tree view expansion either...

View Article


IIS7, URL Rewrite, Window.Open()

For some reason when I use the URL Rewrite Module 2 for IIS, any time the Window.Open() is called to open a new window, it opens the window in the wrong window.For example, window.open(page2.aspx) will...

View Article

how can i create the utility page to test the HttpWebRequest respone

I need to test the request.response on a page, my response will cone into below...

View Article


Start localhost website on a CD

I am using a windows form and call webBrowser1.Navigate("http://localhost:8080/CDStartup.html"). I want to open up a web page that i created in another project.When i run CDStartup.html from another...

View Article

Request.IsAuthenticated not working with IE 11

I have the following in one of my pages Request.IsAuthenticated  but even after the user is authenticated the go to the page which has Request.IsAuthenticated  on page load the user get redirected to...

View Article

Most efficient way to stop sharing session on multiple browser instances...

Hi,Just wondering if there is any efficient and clean solution to stop sharing the session on multiple browser instances and/or tabs. I heard about using cookie less session. But using cookieless...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>