asp.net

Problem connecting to Oracle database via ASP.NET page under IIS

I'm having a problem getting a simple ASP.NET webpage to display. The page contains a GridView with a SqlDataSource connected to an Oracle database. When I run the page in the VS debugger (cassini webserver) everything works fine, but when I publish the application to my local IIS server (same machine), I get the following error: ORA-1...

Is php very limited?

Hello, I've tried asp.net and jsp...and the programming language was powerful enough to create both desktop and Windows apps. Butwhat can I possibly do with php other than creating web applications? Does it have some kind of runtime or framework? Thanks ...

How to show insert or cancel buttons instead of links with Detailsview?

How to show insert or cancel buttons instead of links with Detailsview? ...

anchor IE 6 bug

I created an anchor like this: <a id="create" /> and it works in IE 7 but not in IE 6. How do I fix it in IE6? Further Info: I am using asp.net c#. I am running it in IE6 and in an iframe. The screen just refreshes and the panel doesn't show. But if I don't use: Response.Redirect(Request.Url.PathAndQuery + "&New=1#create"); ...

cache storage memory

Where does cached data is stored in Asp.Net application (heap or ram) ...

send value from popupwindow(child window) to parent window using asp.net

get value on popup page in text box to parent window textbox using asp.net 2.0 ...

Issues with CrystalReport in Visual Studio 2008

Hi, I have created crystal report in asp.net.It worked in my system.But when i try to run the report in another system, it displays "Your report requires additional information". Then it asks to provide the server name,database name, userid and password.Actually,I have attached my database in that system.I have also modified my web.conf...

Reset changepassword control in ASP.Net under medium trust

Hi A ChangePassword Control does not let us change the password multiple times in succession. The control never shows its text boxes after the first time. I found a fix here (http://msmvps.com/blogs/egoldin/archive/2007/10/30/reseting-changepassword-control.aspx) but it wont work under medium trust. Any ideas how can i reset my Chan...

webservice in jQuery returns collection type

I have an ASP.NET WebService that returns an object of List public class Students { public string StudentName { get; set; } public int Age { get; set; } } I am accessing this webservice using this jQuery code $.ajax({ type: "POST", url: "/Students.asmx/GetStudents", data: "{}", contentType: "application/json; charset=utf-8"...

ASP.NET: Repeater control inside a Gridview row.

Hi, I want a Repeater control inside a Gridview row. So how can I assign the DataSource of the Repeater control so that the data it uses is that of the specific data of the GridView row? I tried this: DataSource='<%# Eval(Container, "DataItem.InnerVal") but it does not work. ...

Watin - Handling Confirm Dialogs with ConfirmDialogHandler

Hi, Using Watin, I'm trying to handle a confirm dialog box and tell watin to press "OK". This is reasoanbly well documented on the internet - you use a ConfirmDialogHandler and the "UseDialogOnce" method.. Except it isn't working for me. I get the following error: WatiN.Core.Exceptions.WatiNException: Dialog not available within 5 seco...

A good CSS graphical Editor with all CSS options

Hello, Where do I find a good CSS editor that can help me use all the options of CSS? I don't know all the CSS tags byheart. I need the software to show me the options to choose from while creating the CSS. Thanks ...

What does the 'Validating Web Site' step do when building an ASP.Net website?

It's taking some time to do every time I debug my application. Is it something I can speed-up or skip? ...

ScriptResourceHandler does JS compression for IE only. Really?

Description of ScriptResourceHandler states: By default, the ScriptResourceHandler class compresses and caches embedded script files for Internet Explorer 7. You can turn compression and caching off through the EnableCompression and EnableCaching properties of the ScriptingScriptResourceHandlerSection class. So this ...

UpdateProgress bars and update Panels

I have a grideview that displays rows that will be deleted across servers by the click of a delete button in the footer of the grid. This delete will take a long time so i want an updateprogress bar. I'm not really familiar with it so I don't know where to begin. ...

Object datasource or code-behind: which is better?

I know that it's a subject that can raise a lot of debate, but I'd like to know what people think the various pros and cons of using Object Datasources are. I'm doing a project right now with another programmer who's experience and comfort level are all rooted in classic ASP, and I'm unsure of which way is going to a) get the job done qu...

ASP.NET HTTPS and RelativeUrls

I have a site with an SSL cert for www.foo.com. What is the cleanest way redirect requests to the https:// prefix? Do I have to build links server side instead of relying on resolving urls with relative paths, ~/? Also, say I redirect to an https:// page, the links on the page are all created in a master page and are resolved with r...

ASP.NET - script and css compression

Is there any native compression (for javascript/css files) available in ASP.NET? ...

When I click a button on the form...my code never reaches it's onclick event.

I have a dropdownlist and a textbox with a button on a form. When a button is clicked it does not go to my onclick even in the code but it goes to my dropdownlist's selectedIndexchanged event. How can I fix this? ...

ASP MVC Areas and ActionLink

I'm working on a new project where I want to use Phil Haack Areas (1) idea + Steve Sanderson's tweak (2). I have a simple root view with an action link to a view an area (Foo). The URL that is generated has the proper area, but it appends the root controller (Bar) at the end. Here's my root view code: <asp:Content ID="Content2" Conte...