Quantcast
Channel: CodeProject Latest postings for ASP.NET
Browsing all 3938 articles
Browse latest View live

IIS Rewrite rule: Attach country code with all hyperlinks in page

i have developed a web site with asp.net webform. i hosted the site my pc local iis. when i browser the site the url appear in my browser address bar looks like http://localhost:8800/gb/default.aspx...

View Article


How to incorporate pagination feature into my repository

see the sample code This is books model -----------------------publicclass Book { [Key] publicint Id { get; set; } [Required] [MaxLength(30)] publicstring Title { get; set; } publicstring Authers {...

View Article


Problem with wrap text in a column in gridview and reportviewer

What i want, if the text is too long to fit as per the defined width, the text should be wrapped in next row. I don’t want to expand the column width to accommodate this text in one row. In other...

View Article

Looking for MCSD Web Applications sample test Q/A

just come to know from this site https://www.microsoft.com/en-us/learning/mcsd-web-apps-certification.aspx that MCSD Web Applications exam has 3 papers. those are as follows 1) Programming in HTML5...

View Article

IIS Rewrite rule: Attach country code with all hyperlinks in page

i have developed a web site with asp.net webform. i hosted the site my pc local iis. when i browser the site the url appear in my browser address bar looks like http://localhost:8800/gb/default.aspx...

View Article


How can I use CimCredential in Web Page to get Printer Status ?

I have successfully implemented code which uses ManagementObjectSearcher to query and return the status of printers on one of our servers. Now what I would like to do is use this code from an ASP.net...

View Article

How to disable gridview by checkbox?

Greetings again experts, I have seven gridview controls, Gridview1 through Gridview7. For now, I am posting below the code for two of the seven gridview controls.<asp:gridview ID="Gridview1"...

View Article

How to fix error "the type or namespace name 'CustomerBAL' could not be found...

How to fix error "the type or namespace name 'CustomerBAL' could not be found (are you missing a using directive or an assembly reference)   Name project MvcApplication1) on ASP.Net Visual Studio 2012...

View Article


Problem consuming soap web service - content mismatch

Hi all, I need help about this problem: I call from a wcf service another web service (a soap web service). Now I receive following error message: The content type application/xml; charset=utf-8 of the...

View Article


maintain position DIV on Postback

I find many discussions, but none work with more div<pre><scripttype="text/javascript"> window.onload = function scr1() { var div = document.getElementById("dvScroll"); var div_position =...

View Article

Advice on Partial View

Hi, I am creating an Asp.Net MVC5 application where I have two areas called Teacher and Parent. I want to display a Child's home page based on the area, that is, both the teacher and parent have their...

View Article

How to ensure user either checks a box or fills out the form?

Greetings again, I am really struggling to get my code to work. have a gridview with ID = Gridview1. This gridview has three textboxes and one checkbox with id = grid1Details The requirements: if =>...

View Article

How to disable gridview by checkbox?

Greetings again experts, I have seven gridview controls, Gridview1 through Gridview7. For now, I am posting below the code for two of the seven gridview controls.<asp:gridview ID="Gridview1"...

View Article


int retryattempts = Convert.ToInt32(dr["retryattempts"]);

Is there any resolution for this error: System.IndexOutOfRangeException: RetryAttempts for this syntax? I am getting this error when I input the right username and password. Why is "retryattempts"...

View Article

ASP.Net MVC:How to implement Elmah in separate project

i have a ASP.Net MVC project where i can integrate elmah but the problem is my project solution has many projects like asp.net mvc, BAL, DAL. if i integrate elmah in asp.net mvc project then i will not...

View Article


How to implement https for mvc site

please tell me all steps in details to implement https for mvc site [RequireHttps] public ActionResult Login(string redirectUrl) {…} do i need to use [RequireHttps] ? do i need to change any property...

View Article

How can I use CimCredential in Web Page to get Printer Status ?

I have successfully implemented code which uses ManagementObjectSearcher to query and return the status of printers on one of our servers. Now what I would like to do is use this code from an ASP.net...

View Article


How to disable gridview by checkbox?

Greetings again experts, I have seven gridview controls, Gridview1 through Gridview7. For now, I am posting below the code for two of the seven gridview controls.<asp:gridview ID="Gridview1"...

View Article

how to create Date to Date Report in asp.net using c#

i try some types but not working,And how to solve this issue

View Article

How can I use CimCredential in Web Page to get Printer Status ?

I have successfully implemented code which uses ManagementObjectSearcher to query and return the status of printers on one of our servers. Now what I would like to do is use this code from an ASP.net...

View Article
Browsing all 3938 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>