asp.net

Microsoft jscript runtime erroe Object Required

I am not getting any error in my application but when I run it and click on a button then jscript runtime error object reqired happens with the option of break and continue... How can it be solved?? ...

absolute path and relative path issue

hey, i am fetching image using webservice into dataset and displaying for that its to be get worked after deployment i have done following line of code but its still not able to display the image after deployment String imageName = row["ImageName"].ToString(); String physicalPath = HttpContext.Current.Request.Url.AbsoluteUri.ToString(...

ASP.NET Auto refresh gridview updatepanel timer

hi Hi I'm new to ajax. I'm working on visual studio 2005. I install the ajax Min4setup and I add the control toolkit to the controls toolbar. I created a new website Ajax-Enabled then I add the existing items (all the page) from the old web site to the new one. I wrote the code below in the page.aspx and the other code in page.as...

setting gridview header color

i am working in asp.net and c# i have a grid view. i have 10 columns in that grid view. I have some problems with grid view header text color. some of the columns header have link (for sorting). the color of such header text is a light blue.after clicking the blue color change to another color. some of columns header does not have link....

how to open link of one web application (server 1) from another web applicaton (server2). Sigle sign on Problem

Guys, I have made two web application, both application deployed on differnent server with database. one have SQL and other Oracle. server 1: Web application 1/SQL Database. Server 2: Web Application 2/Oracle Database. I have given link of Web application 2 on web Application 1. its means single sign on logic. I have login in web appl...

I have a Login Control.Even after successful Login it does not redirects to destination page.

I have a ASP.NET Login Control with Forms authentication.Even after successful Login it does not redirects to destination page.But it uses returnURL and stays at same Login page.How to make Login Control to redirect to specified destination page? ...

ASP.NET Windows Authentication

Can you please post a small explanation of the prerequisites of using Windows Authentication? I know that you have to turn Windows Authentication on from web.config or IIS and define domain. Does the web server have to be connected to the Active Directory server or not, and how to get user info from Active Directory like name and desc...

Fill Grid from 2 datatable or adding column on runtime

i have 3 tables enquiryDetail CourseMast and FeeDetail i have to show the information of student with coursefee and remaining and deposite fee i m using the query select Name,MobileNo,CourseName,CourseFees from [AsahEnquiry].[dbo].EnquiryDetail e,[AsahEnquiry].[dbo].CourseMast c where e.CourseId=c.CourseId AND Admitted='Yes' which ...

On page load, navigate to a specific page where a listviewitem belongs using listview and datapager?

I have the selected DataKey in session from the ListView. I am able to set the selection back when I comeback to this aspx page containing listview. But when the selected item in the listview belongs to some other page (not the first listview page) then I need to also set the selected listview page to the one, where my item belongs. I u...

Aqua and Windows buttons style for development

Do you know any good application to create Windows 7 or Mac OS X style buttons? Thanks ...

Image Storage and CDN for websites

Currently I am looking to move my websites images to a storage service. I have two websites developed in PHP and ASP.NET. Using Amazon S3 service we can host all our images and videos to serve web pages. But there are some limitations using S3 service when we want to serve images. If website needs different thumbnail images with diffe...

ClientID getting changed when deploying asp.net 2.0 website to Framework 4.0

I have a website which is hosted on GoDaddy they have version 4.0 runtime. The issue is the client id of the server controls are generated as "contentPlaceHolder1_drpBanks" where it was earlier (when the website was on some other server) getting generated as "ctl00_contentPlaceHolder1_drpBanks". What I need to know is there a way to re...

Use Visual Studio web.config transform for debugging

Hello, I want to use the web.config transformation that works fine for publish also for debugging. When i publish a web app, visual studio automatically transforms the web.config based on my currenc build configuration. How can i tell visual studio to do the same when i start debugging. On debug start it simply uses the default web.conf...

Pattern for retrieving complex object graphs with Repository Pattern with Entity Framework

Hi, We have an ASP.NET MVC site that uses Entity Framework abstractions with Repository and UnitOfWork patterns. What I'm wondering is how others have implemented navigation of complex object graphs with these patterns. Let me give an example from one of our controllers: var model = new EligibilityViewModel { Country = pers...

How to Make Math.Round for a Number

how to make the Rounded number ? Example : 3341.48 to 3342.00 ...

Shadowbox with existing content: Is there a way to make Shadowbox display *existing* page content?

I have the following setup: ASP.Net page which contains a web form (payment form). Certain hidden page elements containing help text (for example a "where is the card security code" image) Currently, when the user clicks a help link for the form element, for example: "Where Can I Find This?" for security codes, I use jQuery to $.show...

Assign attribute web control.

Hi all. I have dropdownlist with text to display and value as hidden value. I want keep changing value tooltip as value when user select other selection. Well, I am already try this code but not work properly: <asp:DropDownList ID="ddlBranch" runat="server" Width="350px" ToolTip='<% ddlBranch.Value %>'> Display in firefox dropdownli...

How to prevent reposting of data before refresh?

Suppose there is button on which there is event for adding the total sum(there is coloumn Amount in gridview) and posting the data in gridview i.e update of gridview. I want that when user click on button it will update the gridview i.e data will inserted in geridview but it will not add current numeric value to the total sum unless us...

SimpleLightbox jQuery Plug-In offer re-size of image?

jQuery apparently will re-size an image if the image is 2 big to fit into the lightbox properly. ( As seen here ). This does not happen for me though because when I view a LARGE image it takes up the whole page and you have to scroll to see the image. Is there something I am missing where I can set the MAX width and height of the ima...

Convert to web application error - could not parse aspx file

I occasionally get errors in my aspx files which are caused by problems with the designer file. When this happens I delete the designer file, right click on the aspx file and select "Convert to Web Application". Usually regenerating the designer file works perfectly, however sometimes I get an error which simply says "Could not parse t...