Need to format date a certain way
How can I format a date as such: day-month-yyyy? I tried the following, but it shows everyrhing 6-27-2013 10:00:12 AM etc string.Format("Results as of {0:dd-MM-yyyy}", DateTime.Now);Edit: I should of...
View ArticleSet Focus on TextBox
Dear Expert,I am using Scriptmanager in my master page. When I am using updatepanel in my child page, where their is no scriptmanager, I cannot set focus on textbox. I am requesting your kind help....
View ArticleIssue in Export to PDF
Hi all, I am using iTextSharp to export html page to pdf. Is there any posibilities to export Asp.Net controls like Checkbox to pdf....Thank you
View ArticleASP.Net 4.5 not rendering drowdown list.
i recently installed vs 2012 on my windows 7 machine then onwords i am facing this issue.i have drop down control on my page inside table which is rendering properly with vs2010, after installing...
View Articlemenu not showing from sitemap
helloI using sitemap for menu binbing.and menu shows accroding to role.for role identification is done from oracle database.i m using a windows authtication for ligin it validates sussessfully and alse...
View ArticleExport to excel
Hi,I am showing some report in the grid, which I need to export it to Excel.Each record is a unique record, which contains a button, on whose click that particular record should be exported to...
View ArticleHow is total HTML size and script size calculated?
In Damian Edwards' video What’s new in ASP.NET Web Forms 4.5:http://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2012-Virtual-Launch/What-s-new-in-ASP-NET-Web-Forms-4-5he shows an example of...
View Articlehow to make query builder.
How can I make a query builder into window application.Kindly share your views with me.Thanks.
View ArticleDropDownList, Autopostback and javascript .submit() event
I have a dropdownlist set to AutoPostBack=trueI have a piece of jQuery like this:$("form").submit(function() { console.log("I am submitting!") });This fires just fine if I click a button. But if I...
View Articlehow to scroll to a specific text box on my page?
I have a bunch of textboxes on a page, when the page loads, I need it to scroll to a specific textbox first.textbox1.Focus(), sets focus, but it doesn't scroll to it.Thanks
View ArticleProblems of special characters when exporting to CSV
Good Night!I'm trying to export data from a gridview to CSV, but the words that have accents appear this way:ESPIGÃO D'OESTEI've tried doing a REPLACE(sb.Replace("á", "á");)...
View ArticleSession variable to show up in a bullet point
How can I get a Session variable to show up in a bullet point on asp.net page? The code below keeps say identifier expected. I have tried several variations to no avail. What have I...
View Articlehow to make hyperlink text change when and after click?
I have several hyperlinks on a page lining up. I want to make the hyperlink text color changed after user clicked on it. so it is easier for user to know the page they are visiting. How can I do that?...
View ArticleDo do you create a page to show output on one page but getting input from 3...
I am creating a web application and the data is saved in a database tables. I want the results (calculations from 3 pages) to be displayed in a new page. How do you do this in asp.net without using...
View Articlealign listview datapager
i need to know the css code to align datapager and numeric pager, last and frist css to listview align in center, because it nows is at left
View ArticleResize pictures, Email, Save and Delete big ones
Hi Xpert,I am looking to see how I can do the following using C#. 1) Select pictures with similar names ( first 5 digits) from some selected folder. May be on a button click.2) Resize them to...
View ArticleUsing asp.net membership tables for more than one website in C#
I am going to be working on 2 or 3 websites. How would I set up each website to use one database of asp.net memeberships. The databases would have different domain names and different databases based...
View ArticleTrying to use an app setting in my ASP.net Page instead of code behind for C#
I am seeing the following error below when I am trying to reference an app setting in my master page. I am trying to set the text to a city location so it will show in the footer for the user. Error:...
View Articleusing a dropdown to update another dropdown using postback
Hi all I have spent a long time looking for the answer to my problem. I am going through some code to use one database driven dropdown list to change the data listed in another dropdown list. The form...
View Article