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

removal of ctl00$MainContent$

i have master page and in child pageI have some fields and  the button click, im not able to get the values Response.Write(Request.Form("firstname"))if I use...

View Article


WebForms aspx page and MVC

I am trying to integrate MVC with a legacy ASPX application. Here is what I have done so far:1. Added MVC to the ASPX web application.2. Added jquery.unobtrusive-ajax.js to master page.3. Added a new...

View Article


Accessing populated class from separate user control

I have a user control for a form which creates a new class from a .vb class file and populates it. Here's a very simplified version of the code behind:Public Class MemberProfile1 Inherits...

View Article

OnClick Event Not firing for Dynamically Created ImageButton

Hi All,I am trying to add an image button dynamically into a usercontrol. After I added the control when i click the button Its not firing the click event. I have used the event delegation and also...

View Article

ie7 - Round corner Division or Textbox..?

Hi, Its my first project in ASP.Net....Is it possible to have round corner division for ie7...? I know...for ie9....& etc.. can possible...But Iam looking for ie-7 and above , also it has to be...

View Article


How can we parse DateTime string '16-05-2009 1:00:32 PM'

I am using DateTime.parse(str) and got the System.FormatException: String was not recognized as a valid DateTimeanybody help?Thanks,T

View Article

AJAX Modal Popup

Hi I hope someone can help, but this is driving me nuts!At the moment I'm just trying to create a simple Modal popup and I've tried lots of things and spent ages looking at examples. However, I just...

View Article

how to get ID to Name ?

I have one field TemStr store 1,5,6 but i have  get1 =  A5 =  F6 = EFianl AnsA,F,F so how can write Quety

View Article


TextBox maxLength = 2000

How do I set a TextBox maxLength to 2000 and if the user type 2000 characters a message will appear?

View Article


Updating Frame After Server Side Code

I have a web app that uses framesets.  Top is a menu for the application consistenting of just buttons. Lower left side is a menu specific to the subset of the application. And, the main frame (lower...

View Article

How to insert/save the data into the database on closing the browser

How to insert/save  the data into the database on closing the browser? I have tried with the event below: <script type=”text/JavaScript”>window.onbeforeunload=function(){//function goes...

View Article

How to create a dll for connect the sql server database from ASP.NET Or C#.Net?

How to create a dll for connect the sql server database from ASP.NET Or C#.Net?I want use this dll anywhere in my project to connect the database.

View Article

Dynamically adding controls in markup?

Im having trouble with adding controls based on a dropdown menu selection. I know this is quite a common feature, and Ive seen it answered on a few threads, but the page im using has no code behind...

View Article


preventing controls from changing their postions

i have different controls on my master page. the controls on the master pages changes their positon  on different content pages that are inherited from this master page. i want the conrols to b fixed...

View Article

Generating invoice number

Can anyone help me with this logic.i wan to generate an invoice number from a timestamp in keep in session for each order that is made.Thanks in advance

View Article


INPUT value

Hello,Is there a way to set a hidden INPUT field's value to let's say a ASP Textbox's value? I am not sure of the proper syntax to use for this. E.g.<input type="hidden" name="uid" id="uid"...

View Article

How do I create a CustomValidator in code using VB.Net?

I would like to dynamically create a CustomValidator in code-behind using VB.Net. The code looks like thisDim oVal as New CustomValidatorWith oVal  .ErrorMessage = "Some error message text."  .IsValid...

View Article


ASP.NET URL Routing with URL Mix-up

I decided to upgrade my website to full-blown URL routing and eliminated .aspx extension completely. Everything worked well and seemed pretty good. I however, have one headache and can't seem to get...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET doesn't render all controls

Hello, I have a rather weird issue and can't seem to find a cause or solution. I have this page (screenshot 1, ignoring the black areas), which is as simple as any other page (nothing fancy, just good...

View Article

Set Gridview Checkbox in DataRowBound.....

I have a GridView with a CheckBox, how do I set the Checkbox to true or false based on the DataItem Value....? protected void gvName_RowDataBound(object sender, GridViewRowEventArgs e) {...

View Article
Browsing all 23244 articles
Browse latest View live


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