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 ArticleDisappearing 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 Articlepage 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 ArticlePassing 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 ArticleHow 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 ArticleConvert 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 ArticleSend 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 Articlec# 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 ArticleSend 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 Articletreeview 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 ArticleDisplay 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 ArticleOpen 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 ArticleFile 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 ArticleHow 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 ArticleCan'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 ArticleHTML 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 ArticleASP.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 ArticleHelp 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 Articletableless 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 Articleaccess 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