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

getting regular html elements

Hey guys, I'm wondering if anyone could help me with something.I'm rather new to learning ASP.NE. I'm going through all the stuff on the site when I have time so i'm getting there. I'm a web designer...

View Article


Disappearing datalist

I have coded a datalist containing a checkbox. I also created a datatable from a query. I altered the datatable by appending a text value to each row. Then I connected the datatable to the datalist....

View Article


page showing variables' code

Hi, I'm a very beginner for asp.net (vb). After several days I got my first code done and when I tried to test it:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="reference.aspx.vb"...

View Article

Passing checkboxlist items to method....

I have a checkboxList and need to pass each checked item to a method, how do I pass all checked items to the method? See codes below and share your expertise.  Design<asp:CheckBoxList...

View Article

How to Hide menu Item when user in not logged in

I have 5 menuItem in master page , but i want to hide Article menuitem , when user is not logged in ,  code in master page is as below<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu"...

View Article


Convert datetime from en-US to fr-FR and display client local time

Hi all, In localhost I store datetime without any conversion (fr-FR), but when I deployed it to a server in another country it display the wron  datetime (en-US and +6h) Can you please tell me how to...

View Article

Send sms from asp.net website--Need help

Hi,I have asp.net website in page load i need to send an sms to mobile number entered.I do not want to use 3rd party provider for sending sms.using System; using System.Collections.Generic; using...

View Article

c# Add 0 to a number in TextBox

Hi, How can i add 0 to a number in TextBox if textbox.text.lenght <3 .. Example  textbox1 = 45  then on textbox2 i want to appears    045How can i do that?Thanks

View Article


Send Email | From address must match authenticated address

I am trying out a new web host and most of it's going well, however I am having an issue with sending emails.When I send an email, I get the following error message:System.Net.Mail.SmtpException:...

View Article


treeview issue with + and -

hi,I am showing record in treeview format using asp .net treeview control for web application.Note: + and - is  treenode expand event  and tree1,tree1.1,tree2,tree2.1,tree2.2 are treenode change event....

View Article

Display multiple user controls in one asp:placeholder with randomizing

I have a webform with three user controls loaded in three asp:placeholders containing questions that needs to be randomized from a set of total 20 questions(so, 20 user controls):const string...

View Article

Open a new window from Server side button click event

Hi,I need to open a new window with full screen from server side button click event.I have used the below is the code to open a new windowScriptManager.RegisterStartupScript(this, typeof(string),...

View Article

File Upload control HasFiles is always False

Hi,I have an asp.net web forms project. No master pages, no ajax, I have a file upload control and when I fire postback the HasFiles property is always empty. I started a new asp.net project....

View Article


How to give a checkbox list items a bold border when disabled

Is there a way to give a checkbox list items a bold border for the square when disabled?Or maybe replace the actual check box with an image of my own? 

View Article

Can't See Report Viewer SmartTags

I am tying to figure out how to turn a SSRS RDL file into a RDLC file and display it in the ReportViewer.I dowloaded the RDL from the Report Manager. I changed the extension ofthe RDL to RDLC. I added...

View Article


HTML input form

I have created a very simple asp.net input form using Visual Studio Express 2012 for Web. It includes some asp:TextBox's, asp:RadioButton's and some hidden fields and is doing validation.Upon...

View Article

ASP.NET Global.asax initialization code to preload an app IIS7.0

I know that IIS Application Warm-Up Module for IIS 7.5 is now available for .NET 4.0 but we're still on IIS 7 are there any standard designs/patterns/practices for such "wake-up" mechnaisms ? Our site...

View Article


Help with an error if possible please

hi there,  my web forms site hooks into an external API to obtain courses etc.  They recently moved their server and updated their API, so I have rerun the wsdl and rebuilt my cs file to access their...

View Article

tableless design

Hello, we used tables in our web design for user input web forms, but I heard that using tables is a mistake, I'am looking for resources to learn how to do it in the right way (css).

View Article

access App_GlobalResources VB

Hi,Next one:I have files called text.de.resx, text.fr.resx, text.en.resx for German, French, English in folder App_GlobalResources for localizing my site, but I seem to have missed one part when trying...

View Article
Browsing all 23244 articles
Browse latest View live


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