Label seems to be adding leading spaces to string
Hi folks,When i put a piece of text in a label control, it seems like there is a misalignment of the first row of text only., i.e. if the text in the label overflows one line it looks like you have...
View Articlequestion about button of "logout"
hi i'd like to ask a question. my webform,in Page_Load,i have a code to check whether the sessions are right. and the for the button of logout, i first do...
View ArticleASP.NET Custom Server Control Help
Can anyone please help with custom server control?I have all layout and inputs, select, buttons and images using javascript client side but I'd like to use with server side instead.Instead of using:...
View ArticlePage is not loading after button click.
Hi All,I am developing a ASP.NET website, where in a found this wierd problem,after save button click all class level variables are initialised ,but Page_Load Event is not triggering after that am...
View ArticleHow to set asp.net label in java script or jquery
How can I re-set a asp:Label control in javascript or jquery? Basically the code hits my Page_Load event server side and then hits my java script code. If the type of the date is a certain value, I...
View Articlerepeater control, findcontrol
I want to use a repeater control to show text from a database in a label and show a textbox. If there is no text nothing is shown. All would be great if I could find the label in code behind as then...
View ArticleRequest.PathInfo not work
Request.PathInfo show "The resource cannot be found" error when click on second linkmy code shown below :article.aspx<form id="form1" runat="server"> <div> <ul>...
View ArticleObject reference not set to an instance of an object
Hi,I am working on an asp.net/C# project and I am a beginner in webprogramming. I get the below error on runtime:"Object reference not set to an instance of an object."Below is my code:protected void...
View Articlewhen put jquery/javascript popup window on aspx page, remaining asp control...
i am using one popup on mouseover using jquey/javascript in asp.net for showing one message like tooltip.consider i have one webform called webform1.aspxIn that webform, All controls (other click...
View ArticleCustom controls not working with Datapager
Hi,In order to get around the ImageButton problem with IE10 i have had to create a custom control (ImageButtonIE10) that inherits from ImageButton with a class placed in the app code folder. The...
View ArticleHow to convert html to image(.png jpeg)
Sir i have a div in which three or four images are there. and i want to convert that div into an image .png or jpeg format please help me how can i make image of that particular div
View ArticlePossibility of adding multiple menus in a page
Hi Gurus, I am fairly new to ASP.net and I would like to ask your expertise on menus. I was wondering if it is possible to add multiple menus in one page? For example, if I have menu options - Parent1,...
View ArticleRewrite intranet URL for ASP Web Forms
I have an ASP Web Forms site on an intranet. Currently the URL = http://domain-name/website-name/Home.aspx. However, I need to rewrite the URL so it =http://website-name. This URl would bring the user...
View ArticleCall function one time even with refresh
Dear all. I am calling a function inside my page load. I need this function to be called only one time even if the user refresh the browser.. How can i do this?? Is this handled through threading???
View Articlesave value on XML one time per process
Dear All,i am creating XML file, and saving some values on it.if user A trying to save some values on that xml, and user B came on the same time and trying to save another value,i need to keep user B...
View ArticleFile in use error
I have an asp.net app that creates a pdf file in a network share, attaches it to an email and sends it. This works fine but if I try to create that same file again I get the error below. How can I...
View ArticleFill DropDownList
Hi All,I was able to create a login pagehttp://forums.asp.net/t/1949899.aspx?Forms+with+loginHow can I pass the user login ID as parameter on my query of the sql data source?How can I attach the data...
View ArticleMy WEB site does not work with IE 11
I am developing a WEB site using VS 2010 with SQL Server 2008 R2 and have discovered that it does not work with IE Version 11. It works with Versions 9and 10 along with Google Chrome, Safari, and...
View Articlein IE, the javascript does not work
Hi,I'm working a web app that was built using web forms. There is a page (.aspx) is part of a wizard, then has a "Next and "Cancel" buttons; only when the user click "I agree" to the terms then the...
View Articleinsert null in datetime field when datepicker value havent chosen
hi, I can insert a date time value that user choose from datepicker in table like below 5/2/2010 but i want to insert null if date hasn't been chosen. so I write this...
View Article