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

conversion to Base64

RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); byte[] byteArr = new byte[32]; rng.GetBytes(byteArr); String salted = Convert.ToBase64String(byteArr); Response.Write(salted);why it is...

View Article


Menu Control Enabled Issue

I have a menu control in my master page in the head section. I have a specific menu item disabled at start up. Once the user selects a city, then I want to enable this menu item. If I don't disable it,...

View Article


How to access elements in nested master page (from content page) ?

Hi gang,When it comes to accessing elements on a Master page from a "content page" (page derived from said master page) then there's no problem. Works like a charm, and I also discovered that the '@...

View Article

Must declare the scalar variable "@datetime"

I am getting an error in a Try/Catch Textbox I have set up:"Must declare the scalar variable "@datetime"."Here is the code in question:TextBox1.Text = System.DateTime.Now.ToString()...

View Article

Is update panel or ajax to use?

Hi Guys,I am new to asp.net webforms and I would like to ask if my feature in my is easily achievable.I have a master page that looks like this and when launched, Default.aspx is the default page (url:...

View Article


about http://localhost/Site/page.aspx and http://10.10.10.10/Site/page.aspx

Hey there, I stored the project URL in the Database as http://10.10.10.10/Siteand I read from database properly, and try to load page.aspx, then it will redirect me to the login page, which is not the...

View Article

Dynamic menu using UL li

Hi,I have category table(id, name, description, parentid) and i want to show categories and subcategories using <ul><li> tagsPlease help me. appreciate for you valuble time.Yasin

View Article

'Remember Me' not coming while Login

I created one login page using 2 textboxes of user name and password. Once any user enter password and make login, the browser didn't ask to remember the password.How can I do that?Thanks in Advance.

View Article


drag and drop shape

hii need to a sample for 2 rectangle and a line that can connect the line to one of then rectangles and move themand when drag the rectangle , with it drag the lineplease help me for solve itthanks

View Article


Passing parameter to Modal Pop-up.

How can i display a confirm message including parameter ex: "Are you sure you want to delete employee 123456,98765?" using modal popup?Please Help.Thanks

View Article

Issue with Simulating a web service in C#/ASP.net

I am trying to use the below link to simulate a web service for my application. I have everything set up right, but when the first call back come into play (after 2 minutes) and the hit page();...

View Article

Get value from dynamic controls in update panel

I have dynamically created some controls in an update panel and I then click a button. I wish to get the values entered in these controls but I get nothing. I'm currently trying:Dim Active As New...

View Article

Radiobutton List

i was working on the radiobuttonlist and my database is in access i am facing a problem. in all other pages i was using the  DataFile="C:\web\AUTH.mdb" code now in this one the code is not working...

View Article


check date in my textbox

hiI have two asp.net textbox that is Textbox1 and Textbox2My Textbox2 contain 01-Mar-2013.I need to check in If condition if my Textbox1 is below 01-Mar-2013 then alert message ok else alert message...

View Article

ASP.NET page taking forever to load

I have following code in page_load. HTML page never loads           SpeechRecognitionEngine recognitionEngine = new SpeechRecognitionEngine();            recognitionEngine.LoadGrammar(new...

View Article


Remember me is not prompt using Telerik TextBox

I have created login page which contains 2 Telerik TextBox control. When I login, the browser didn't prompt "Remember password".But when I use asp.net TextBox Control, then it comes the prompt.How can...

View Article

Keeping runtime created controls

Hi everyone.  I am pretty sure I have asked about this before but haven't come up with a solution yet.The idea is I want to create some table rows with controls runtime, which seems to be working fine,...

View Article


update panel in usercontrol that has got masterpage doesn't work

Hi,I've a user control for registeration, it's called reg.asax and I've a page reg.aspx that it's got masterpage like this <%@ page="" title="" language="C#" masterpagefile="~/main.master"...

View Article

How do I set the EmailRegularExpressionMessage's ForeColor="Red"

I am using the CreateUserWizard and want the EmailRegularExpressionMessage's ForeColor="Red".  Ido notwish to use a content templatefor Step0 which is named "CreateUserWizardStep1" by default; because...

View Article

reset form and clear validator control messages

I have a bunch of validator controls on a form, required, custom, regular expression.sample <asp:RequiredFieldValidator ID="otherTrainReq" runat="server" ControlToValidate="otherTrain"...

View Article
Browsing all 23244 articles
Browse latest View live


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