UrlRewriter in querystring params being duplicated
based on this article iam change querystring into url, and its working fine, but if the link url and rewrite url in same page i got an error ie repeatring querystring..picture 1: norml case picture 2:...
View ArticleHow to use one code for more domains
Hi, I have 3 domains. In first domain I have my code Default.aspx How to use Default.aspx in other domains name. I would like once to update my code and then updated to show in other domains. Regards
View ArticleVariable out of scope
I have a little issue.The control "div" is out of scope when trying to add child controls it in my foreach loop. I need to re-create that control every time i = 1. I am pretty new to c# and this is...
View Articlehow to let mobile version and desktop version to my users
Hi. I'm going to publish the mobile version of my website.mysite.com and m.mysite.comIf an user's device is mobile then I would like to show him my mobile version of the website:m.mysite.comBut after...
View ArticlePopup With 2 Tables, Slide Items Back and Forth
Hello,I have a real easy question. There's a pop up window. It holds 2 tables with 2 arrows between them. Each table has a list. (Mine will be a list of names) You use the arrows to transfer the...
View ArticleEntityType has no key defined. Define the key for this EntityType
Could someone help with this error for the class below: Error: GEW.Models.Repository.Product: : EntityType 'Product' has no key defined. Define the key for this EntityType. ==========================...
View ArticleMultiupload with resize, add watermarks to the image
Hello, I would like to insert multiple images at once, shrink in a certain proportion, and add watermark. Any advice or code sample?
View ArticleSet a GridView
Hi All,This is my data: //Multi-Dimensional Array //QuestionID, QuestionText, Option, AnswerValue, AnswerText //Option 1 = Radio Button //Option 2 = CheckBox...
View ArticleTextbox not posting back.
Hi so I was trying to populate my Textbox a data from a RFID card but my Textbox isn't Postingback and I dont really know why.Here is my Mark up:<body><form id="form1"...
View ArticleAsp.Net Generic method to Show/Hide controls based on the feature
I would likt to show/hide controls in a page based on a particular feature they are mapped to. And this list would come from a source say it could be form database.For E.g. Assume, in a page there are...
View Articledisabling some key's functionality for a online exam application
How to disable1. all the combination keys2. windows button press3. opening of other pages in the browser for the online exam application in asp.net ????
View ArticleCalling GC.Collect(); after deleting data in C#
Is it valid to call GC.Collect after deleting a file on the server that could contain Personal information of a user?
View Articleneed help in query
hi guysI have an applicaation in which govt sector dept user sent file to another user... eg. home dept user sent 1 file to defence dept user. and there is facility that defence user will receive that...
View Articlevirtual trail room
Hello guys,My upcoming project have functionality of virtual trail roomin which user will capture photo through web cam try clothes.I am fully blank in here.Please help me friends
View ArticleFocus after page load
Hi All,In asp.net i have 2 buttons A.aspx page, when click on first button one pop is opened, from the popup i select one value and closing that popup then submiting a.aspx then i want to cursor focus...
View ArticleHow to test a data connection to SQL Server in the web.config
Is there a way to test a data connection to SQL Server in the web.config to make sure that you have connected to the database correctly?, see below. I created a simple application to open a table and...
View Articledate format conversion issue
Hi,I have stored the date in a varchar field like 12/2012 , 3/2012 , 8/2012 Now I need to show that in this format Dec-2012 , Mar-2012 , Aug-2012Note: I should not change my column datatype from...
View Articlelistview item switch
howb to make a foreach (ListViewDataItem li in ListView6.Items) switch (li)i'm trying to iterate each listview item and apply some stringbuilder code but i get this: A switch expression or case label...
View ArticleCutom validator for comparing the selected values of 2 drop down lists
Hello ,I am trying to use ASP.NET validation controls to prevent users from selecting the same item in the 2 drop down lists "dlBookSelectionA" and "dlBookSelectionB" on my ASP.NET C# web form.I have...
View ArticleDropdownlist Box generating duplicate items that already exists in list when...
Dropdownlist Box generating duplicate items that already exists in list when i dropdown it to display data on controls(Textboxes,labes etc) from database and i used Sqldatasource tool on foem to...
View Article