Listview to excel mso-number-format:\@; dont work
Hello!I want to export listview to Excel. It is necessary that the Excel recognize first column as the text. I will make so, but it don't work<style type="text/css"> .text {mso-number-format:\@;...
View ArticleSQL stored procedures Try/Catch and Commit/Roll back transactions
Is it valid to put a Commit Transaction statement right above the 'End Try' and then a Rollback Transaction statement right above the 'End Catch'.
View ArticleError: Instance property 'DateTime' is not defined for type...
I am getting this below error when i try to sort the asp.net gridviewError: Instance property 'DateTime' is not defined for type 'GRIDVIEWSORT.LoginInfo'Code:private List<LoginInfo> Sort(string...
View ArticleGetting Error in Rowcommand Event :Index was out of range. Must be...
hi..getting error here int addid = Convert.ToInt32(gvImages.DataKeys[rowindex]["CategoryID"]); that "Error:Index was out of range. Must be non-negative and less than the size of the collection....
View Articledownloading file from server/localhost to client's computer
I have a file in server's "data" folder. How can I download the file from the server and save it in client's desktop.
View ArticleHow to create add price , multiply by quantity and minus discount before...
Am trying to create a sales web application that will add sells price and multiply with the quantity and also check their is any discount, if yes the discount will be minused from the total sells and...
View Articlevalidate grid view itemtemplate
Hi..I'm using this tutioralhttp://www.aspsnippets.com/Articles/Adding-Dynamic-Rows-in-GridView-with-DropDownLists-in-ASP.Net.aspxLets consider user slelectItem1 Item2 Item3 on first row now user...
View ArticleHow to resize the web page automatically based on user's web browser screen...
Hi All,I have created a web page, different users have different screen resolution like 800 X 600, 1280 X 1024 etc.,Is there any way where it detects automatically and fits the contents according to...
View Articlehow can i get control inside the user control from the master page or page ?
hi all1. i ahve an master page called "Site2.Master".2. i have an user control called "US1".3. i have an page called "webform2.aspx" and it use the master page "Site2.Master" and i have add the user...
View Articletimer tick fire only one time dute to [Response.OutputStream] is optoin to...
protected void Timer1_Tick(object sender, EventArgs e) { Bitmap bmp = new Bitmap(150, 400); Graphics g = Graphics.FromImage(bmp);Pen blackPen = new Pen(Color.Red); y -= 100; ; height += 50; RectangleF...
View ArticleSet EnableClientScript property of Validation Summary control using Javascript
Hi,I want to set the EnableClientScript property of the validationsummary control using javascript.My intention is to keep the validation messages in the validationsummary even after the postback.Note:...
View ArticleInsertion
Good day all,I am trying to get this logic done but facing some problem.The logic is that at a click of a button i select all student who are in a particular class from the students table and insert...
View Articlehow to get value that is written in client side in serverside
HI, I am assigning some value in the client side to a label. I am trying to access the label value from server side. that label text is empty. How to access the variable. the page is inside master...
View ArticleIFrame's body doesn't render its content
Dear Dotneter,Now i am facing a problem. Am using IFrame in a page. While working in local machine it displays content within. While moving to live it doesn't render it's body content.Just showing an...
View ArticleHandling multiple formview's update commands in one page
I'm having trouble managing multiple formview's update methods on a single page. I have 2 formviewsone for customer basic info on a jquery tabone for customer address on a jquery tabBoth formviews are...
View Articlehow to avoid lose session?thank u very much
hi i 'd like to ask for help. sometimes,when the page is reloaded,or sessions are transfered between webpages,the sessions are lost(they become null) my web config is like that: <sessionState...
View ArticleAsp.net url Re-writing
hi,I want to know about asp.net url re-writing if any one know abt tis topic share me...Any sample project soure code available pl send meThanks.
View ArticleAdd Service Refrence Error
Hello guys, i am getting this when i am adding a service refrence to my web app. please help me to solve it.There was an error downloading...
View Articlewhen use Asp.net net Url ReWriting Ajax WebMethod wont Called
Hi,m getting url like http://localhost:10869/Customer$.ajax({ type: "POST", contentType: "application/json", data: "{'Type':'" + type + "'}", url: "CustomerMaster.aspx/getSelectList",//when m using...
View ArticleWhy dont work my code behind that call an alert?
Hy,I have read many threadsandtried in every waybutI can not findthe solutionto invoke a alertfrom my code.At some pointI have a functionpublic void Update () { if (isSaved) { } else { Response.Write...
View Article