asp.net

ModalPopupExtender OK Button click event not firing?

I have a Button inside an UpdatePanel. The button is being used as the OK button for a ModalPopupExtender. For some reason, the button click event is not firing. Any ideas? Am I missing something? <asp:updatepanel id="UpdatePanel1" runat="server"> <ContentTemplate> <cc1:ModalPopupExtender ID="ModalDialog" runat="server" ...

Calling Reporting services rdl in Java application

I have developed my reports in SQL REporting services and deployed in my server. I need to display the reports in my java application page. I want to know is there any control (like .net report viewer control) to display this Thanks balaweblog ...

Is the PageAction.Details route necessary in the default Dynamic Data template?

In the default Visual Studio template for a dynamic data web application, Global.asax includes the following two sample routes. // route #1 routes.Add(new DynamicDataRoute("{table}/ListDetails.aspx") { Action = PageAction.List, ViewName = "ListDetails", Model = model }); // route #2 routes.Add(new DynamicDataRoute("{table}/...

Defaulting to different URLs when Generating Web Service Proxy with WSDL.exe

I have numerous Web Services in my project that share types. For simplicity I will demonstrate with two Web Services. WebService1 at http://MyServer/WebService.asmx webService2 at http://MyServer/WebService.asmx When I generate the proxy for these two services I use: wsdl /sharetypes http://MyServer/WebService1.asmx http://MyServer/...

How do you use Presentation Model with Webforms?

I have started using Presentation Model w/ ASP.NET webforms and like the pattern quite a bit. What I am really having an issue with is where to instantiate some of my classes, mostly the presentation model, my business object, and things like the data for drop down lists. So I could use some tips or a complete example of the Presentation...

Full screen mode in silverlight

Would it be possible to show an image in full screen mode using silverlight. I'm looking out for some thing like the full screen option of the flash video players. ...

Silverlight controls in ASP.NET application

I need my ASP.NET web application to use silverlight controls in my web page. Please let me know how to use them. Do i need to add any reference for them in my Visual Studio 2005. Framework 2.0 and ASP.NET 2.0 application environment. ...

Partials, ASP.NET MVC

I'm building my first ASP.NET MVC application and I am having some troubles with Partial classes. If I, as an example, want to put a "Footer" as a Partial I create an "MVC View User Control" in "/Views/Shared/Footer.ascx". (I leave it empty for now) What is the correct way for adding it to my Layout? I have tried: <%=Html.RenderPart...

How do I inject a form value with jQuery?

I am working with jQuery Form and ASP.NET MVC. Preview 5 of ASP.NET MVC has an Extension Method on HttpRequest called "IsAjaxMvcRequest" that detects if the POST was an Ajax request. This Extension Method basically "sniffs" for a form value called "__MVCASYNCPOST" and (basically) returns true if it sees this element. What I want to do i...

How do I allow a user to use their own domain name for a hosted service?

I am working on an ASP.NET MVC web app that allows people to publish content, but other than publish the content to a remote server, I want to allow people to use their domain name directly. For example, the user "Tom" can have his domain name TomSite.com point to http://www.mywebapp.com/user/tom, but the sub path will also be mapped. F...

WebFocus - is there a free/open source alternative?

What is a good free/open source alternative to WebFOCUS? Is there an ASP.NET way of getting info from an OLAP cube? Update: I chose Magnus Smith's answer as the correct one, but Alexmac's answer was also very good! ...

Is there any performance difference in using .resx file and satellite assembly?

Which is the best way to go forward while building a localized aspx web application, .resx files of satellite assemblies? Is there any performance comparisons available any where on web? ...

Should I stick with the ReportViewer control or buy a third party tool?

Hi, we need reports in our web application and there is the free ReportViewer Control from microsoft (normally used, to display reports from the reporting services). I like the fact, that the Report Format (.RDL-Format) from the ReportViewer is a documented XML-Format. But the functionality is somewhat limited, when the ReportViewer is ...

Deploying database for ASP .NET Website

I was just browsing through questions on stack overflow, and i've come up to a post where it suggests of deploying database by simply copying the mdf file in the app_data folder and modifying your connection string. I know that some people do create an mdf file in the app_code during development, but for going life, Is this realy a via...

How to rotate and fade background images in and out with javascript/ASP.NET/CSS

I need to randomly fade my background images in and out. It will be a timed function, like once every 5 seconds. I need to do it with ASP.NET, Javascript, CSS or all three. Please help me out here guys. Thank you. ...

Best way to search in a table and get results and number of results (MySQL)

I have a table of "items", and a table of "itemkeywords". When a user searches for a keyword, I want to give him one page of results plus the total number of results. What I'm doing currently is (for a user that searches "a b c": SELECT DISTINCT {fields I want} FROM itemkeywords JOIN items WHERE (keyword = 'a' or keyword='b' o...

What is a good search engine for embedding in a web site.

I am thinking of changing my web site's homegrown search engine. Before I break out Visual Studio, I wondered if anyone can suggest an alternative that gives me what I need. This being: Works with an ASP.NET site (is a .NET project) Creates a file-based index Fast search across hundreds or thousands of pages Performs word-stemming to f...

Links with and without the .aspx extention

Is is possible to configure a server to allow using links with and without using the .aspx extention. If yes, how could I go about setting this up. I'm working on a client site who is using umbraco. I know it has built in friendly URL capibility. Unfortunatly the site is already live and turning the feature on for the whole lot of lin...

How to access UserId in ASP.NET Membership without using Membership.GetUser() ?

Hello! How can I access UserId in ASP.NET Membership without using Membership.GetUser(username) in ASP.NET Web Application Project ? Can UserId be included in Profile namespace next to UserName (System.Web.Profile.ProfileBase). Thanks in advance ...

When creating a web control should you override OnLoad or implement Page_Load

When you create a new web user control in visual studio it by default adds the Page_Load event. What is the advantage to using this rather than overriding the base OnLoad event on the control? Is it just that the Page_Load event fires before OnLoad? ...