asp.net-3.5

Need workaround for .Net Master Page Name Mangling

I'm evaluating converting an old frameset based asp.net website to use master pages. The only thing holding me back is the huge amount of work it will take to update every page to deal with name mangling. Most of my problems are with javascript referencing hardcoded Id's. Is there a way for me to tell ASP.Net that for a particular con...

Asp.Net and External DLL

hi all , i'm writing a web application that works with an external dll (activex), the dll was written by skype developers, the problem is that, in a case of any event (status changing, attachment, etc..) in the client side, a delegate needs to be call on the server side. so when i'm changing a status in the skype program, it seem that...

IIS7 slow appPool startup compared to IIS6

Hi all, I have recently purchased some new windows server 2008 boxes all running IIS7. I have moved some of my websites across to them, but they seem to be running VERY slow when the app pool first kicks in. All the sites are precompiled (using webdeploy) and in IIS6 they were lightening fast, I thought it might have been just because ...

IE 7 Browser -> File -> Print causing PostBack to page? ASP.NET 3.5

I have code that "pops up" another ASPX page with an image in it. The javascript used to popup the the window is below. string url = @"DocumentPage.aspx?imageGuid=" + imageGuid; string winWidth = "800"; string winHeight = "600"; StringBuilder scriptString = new StringBuilder(); ...

See ASP.Net Performce: PageWeight and Time to load?

Hi guys, I have a Ajax Postback on my site and the same values get back via PageMethods. I want to see the PageWeight / what exactly is get back, how I can do this? The author of this blog have a nice tool: http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/ ...

Httpcontext working problem with AJAX

I am currently using AJAX control and also using httpcontext to redirect the page if the user is not authenticated.if two users are logged in at the same time and one deltes the other one. The other logged in user is getting exception page while clicking on the same AJAX control. So Looks like HttpContext is not working with AJX. I have...

ASP.NET, SilverLight, WCF & Forms Authentication - How to configure endpoints?

I have this existing environment: 1) ASP.NET 3.5 web application 2) forms authentication with the SqlMembershipProvider I need to add the following: 1) a Silverlight charting object embedded in a web page. 2) a WCF service to be consumed by: a) the Silverlight component embedded in an authenticated web page...

Creating custom ASP.NET validator

I have created a custom control and a custom validator (extending BaseValidator). On custom control I have set ValidationProperty("Values"). The problem is that validation doesn't work when postback is sent unless I execute Page.Validate(). And when I call Page.Validate() all validators are executed wich is not what I would expect on pos...

What will be the event name for checkbox checked event while using ajax trigger asynchronous call ?

<asp:ScriptManager ID="ScriptManager1" runat="server"/> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="chkStaySignedIn" EventName="Checked" /> </Triggers> <ContentTemplate> <asp:Label ID="lblPassword" runat="server" Text="Password" AssociatedContr...

Customize ASP.Net Ajax Framework

When I use a script manager in Web Forms web applications, where does ASP.Net load the Ajax framework from? (You know the one that provides the $find, $get functions). I'm looking to replace the built in $find, $get with some extra logic to work around master page name mangling. Anybody know the best way I can accomplish this? I'm t...

asp.net gridview edititemrow controls

In an edititemrow of a gridview in asp.net, how do I set the visibility of a textbox based on the selected index of a dropdownlist (that's in the same edititemrow)? ...

(ASP.NET 2008) opens the file within browser rather than showing a Open/SaveAs dialog

Hi, we have image files in IIS6.0 server, and wanted to open in browser using ASP.NET2008. My problem is that it always shows the open/saveas dialog, but what I wanted is, it should open the file in the browser directly. we are using ASP.NET2008. It would be great if you provide the sample code. thanks ...

IE6 UpdatePanel Must move mouse to refresh after async call

So we are using IE6, and can not migrate to any other browser. So our application is having issues where after we have a postback inside our updatepanel. The browser looks like its resetting the DOM, one select box kind of jumps up a little, but then it freezes for 10-20 seconds, then the page gets updated. Now if we move the mouse it is...

open the files(.TXT/.WRL/...) in browser without showing the open/saveas dialog box

Hi, we have files(externsion of the files is .TXT/.WRL/...) in IIS6.0 server, and wanted to open in browser using ASP.NET2008. My problem is that it always shows the open/saveas dialog, but what I wanted is, it should open the file in the browser directly without showing the open/saveas dialog box. we are using ASP.NET2008. It would b...

User control question (Not working right)

I have a user control (a country selector, select a country and it populates a 2nd DropDownList with the states/regions for that country without reloading the page). The control works fine if there's nothing in the QueryString, but as soon as I add something to the QueryString, such as http://www.example.com/test.aspx?ACC=3 then the cont...

How to implement face recognition in an image in .net 3.5?

Hi all, I need to implement face recognition like in orkut album. In my website when a user uploads a photo and checks the photo in album I need to implement the feature and place rectangles over the faces in photo like in orkut album like in this link. Please help me to implement this. Thanks in advance. ...

ASP.NET 3.5 client cannot connect to WCF service library hosted in IIS 7.5.

Hi, I have developed a WCF Service library and I am hosting it in IIS 7.5 I am able to test it using the VS test client but whenever i attempt to invoke it using a client in another solution i get this error: System.ServiceModel.CommunicationException Could not connect to http://localhost/EvalServiceSite2/Eval.svc/ws. TCP error code 1...

Custom control uses DataSourceId

I am attempting to write a custom control. I want to allow its user to specify a DataSourceId (much like GridView, Repeater, etc.). I can get find the DataSource that corresponds to the id. And I can get the associated DataSourceView. But the only way to get the data out appears to be with an asynchonous Select method. Of course, I can ...

ASP.NET 3.5: Refresh some values in a UserControl when some action is performed in another UserControl

OK, this is my situation; I have a MasterPage. On the left hand side is a UserControl for navigation. In this UserControl I have another UserControl which shows details for the current "active" selection. What I want to do; When a user selects, say, a Customer in the main content area I want to populate pertinent details in the Activ...

ASP.NET AJAX: How can I send information to the client from server-side.

The page has already run its' initialise/load sequences etc but then catches an event. How can I then send value(s) from this event to the client. That probably doesn't make much sense, hopefully this will clarify: I have a grid (Telerik RadGrid) in a user control (A) and when the user selects a row in that grid, I want to update anoth...