tagged [webforms]
Which is the better framework to build a HTML survey builder?
Which is the better framework to build a HTML survey builder? I’ve to build a HTML survey builder application with an AJAXified user interface (i.e.,...). The typical survey will be multistep with mul...
- Modified
- 14 Jan at 16:57
Get All Web Controls of a Specific Type on a Page
Get All Web Controls of a Specific Type on a Page I have been pondering how I can get all controls on a page and then perform a task on them in this related question: [How to Search Through a C# DropD...
How to fix "SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value."
How to fix "SqlException: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value." > SqlException: The conversion of a datetime2 data type to a datetime data...
- Modified
- 8 May at 08:58
How to click a link element programmatially with HTMLElement?
How to click a link element programmatially with HTMLElement? I'm doing an automation program. I load a webpage into my windows form and load it in WebBrowser control. Then, I need to click on a link ...
How to get string from url in ASP.NET webforms?
How to get string from url in ASP.NET webforms? I think my tittle is inaccurate. When a user clicks on a button I need it to do this: How can I get the `"userid?"` from `?userid.` so I can show a page...
ASP.Net web forms with ServiceStack.Net
ASP.Net web forms with ServiceStack.Net I have a ASP.Net web application with around 100 forms. The coding is in VB.Net. We now want to add servicestack.net services inside this application. We want t...
- Modified
- 12 Jun at 16:15
Page.Title vs Title tag in asp.net
Page.Title vs Title tag in asp.net I am using asp.net. I have noticed that we can configure page title (static and dynamic both) in two ways: 1. We have a Title attribute in the page directive: 2. We...
Find a control in a webform
Find a control in a webform I have a Web content form and need to access a control inside the content panel. I know of two ways to access the control: 1. TextBox txt = (TextBox)Page.Controls[0].Contro...
Adding style to asp.net label
Adding style to asp.net label I want to adding style to asp.net label, but it wont work. I want to add the following style to the label ``` { float:right; w
LINQ: find all checked checkboxes in a GridView
LINQ: find all checked checkboxes in a GridView Consider the current algorithm below that iterates through a `GridView`'s rows to find whether the contained `Checkbox` is selected/checked. ``` List ch...
- Modified
- 5 Aug at 16:21
Convert a Dictionary to string of url parameters?
Convert a Dictionary to string of url parameters? Is there a way to convert a Dictionary in code into a url parameter string? e.g. Inside MVC HtmlHelpers you can generate
- Modified
- 7 May at 13:24
DropDownList AppendDataBoundItems (first item to be blank and no duplicates)
DropDownList AppendDataBoundItems (first item to be blank and no duplicates) I have a `DropDownList` inside an `UpdatePanel` that is populated on postback from a `SqlDataSource`. It has a parameter wh...
- Modified
- 20 May at 21:24
How to do a Jquery Callback after form submit?
How to do a Jquery Callback after form submit? I have a simple form with remote=true. This form is actually on an HTML Dialog, which gets closed as soon as the Submit button is clicked. Now I need to ...
- Modified
- 9 Jul at 07:26
Check if Cookie Exists
Check if Cookie Exists From a quick search on I saw people suggesting the following way of checking if a cookie exists: or (inside a `Page` class): However, when I try to use the indexer (or the Cooki...
- Modified
- 24 Oct at 22:8
How can you set the selected item in an ASP.NET dropdown via the display text?
How can you set the selected item in an ASP.NET dropdown via the display text? I have an ASP.NET dropdown that I've filled via databinding. I have the text that matches the display text for the listit...
Most Efficient Way To Watermark Image C# On The Fly?
Most Efficient Way To Watermark Image C# On The Fly? I have an ecommerce store built in asp.net c# (Webforms) and a lot of the new product images are very hard to source, so I'd like to watermark them...
"Could not load type [Namespace].Global" causing me grief
"Could not load type [Namespace].Global" causing me grief In my .Net 2.0 Asp.net WebForms app, I have my Global.asax containing the following code: However when I build I get an error stating- > Could...
- Modified
- 31 Jan at 01:13
Creating a customized "Yes / No" alert box in asp.net (javascript) - Part 2
Creating a customized "Yes / No" alert box in asp.net (javascript) - Part 2 I am trying to create a customized messagebox using javascript but not getting too far. ``` string txtConfirmMessage = "On "...
- Modified
- 30 Sep at 17:6
How to re-implement legacy aspx with ServiceStack and maintain the address?
How to re-implement legacy aspx with ServiceStack and maintain the address? Is it possible to keep the following address and re-implement it with ServiceStack? I don't have access to the original cod...
- Modified
- 10 Oct at 18:29
A potentially dangerous Request.Path value was detected from the client (*)
A potentially dangerous Request.Path value was detected from the client (*) I am receiving the rather self explanatory error: > A potentially dangerous Request.Path value was detected from the client ...
What is the best way to code up a Month and Year drop down list for ASP.NET?
What is the best way to code up a Month and Year drop down list for ASP.NET? I have an internal application that I needs to have a drop down list for two date type elements: and . These values are no...
asp:RequiredFieldValidator does not validate hidden fields
asp:RequiredFieldValidator does not validate hidden fields It seems that ASP.NET validators do not validate hidden fields. I get messages like this: > Control 'hiddenField' referenced by the ControlTo...
- Modified
- 7 Jul at 08:45
Viewstate is null on postback
Viewstate is null on postback Right, I've got something very peculiar going on here... ASP.NET 4 page with the following property: During the initial `Page_Load()` in (`!Page.IsPostBack`) the `QuickSh...