I have a page where a text file is downloaded when I button is clicked. When that happens I would then like to direct the user to a confirmation/more details page.
I am using visual studio 2008 and it is VB.Net in 3.5
I'm doing the first bit of web-page development I've done in years, in VS2008, using VB.net. I have a fairly simple layout, which is using several nested tables. IE6 displays the layout just fine, but Firefox for some reason shows the whole thing in a small panel at the top of the page, with a scrollbar. Can anyone suggest something basic I am…
Hi,
I am very new to .net applications. I have to create a sample ASP Webserice application in Visual Studio 2005 version, i am getting error: " 'system.Data.dll' was not found on the reference search path ".
Please any one help me on this.
Thanks,
Ravi
I have an application which intensively uses DB (SQL Server).
As it must have high performance I would like to know the fastest way to insert record into DB.Fastest from the standpoint of execution time.
What should I use ?
As I know the fastest way is to create stored procedure and to call it from code (ADO.NET).
Please let me know is…
I am currently trying to add 301 redirect to my routes in MVC
to do this I have tried to inherit from the MvcHandler.
The handler gets instantited with the right values. but I am never able to debug the overridden methods.
can someone show me a working attempt at this? the asp.net pipe simply seems to the doing its own thing...
…
Hi.
I'm working on multilingual Asp.NET MVC application. In url i need to use category name.
Is there any way how to convert i.e japanese text to its url safe equivalent?
Or should i use original text in url(www.example.com/??/? = www.example.com/product/car)?
For a web application I switched from using ASP.NET Membership to using my own log in system which just does something like this to mark a user as logged in:
Session["UserId"] = User.Id
Is it possible to store the user id in the ASPXAUTH cookie, piggybacking on its encryption, instead of using the standard session?
The goal is…
I'm getting the following error in my ASP.net web page:
Invalid length for a Base-64 char array.
This happens when a user activates an ajax request before the previous request completes. How can I prevent this error fro occurring?
Here is my code:
I should get output of the department id (did) as an integer and the templatefilename (result) that is required.
The errors I get are: Conversion from string "ad" to type 'Integer' is not valid. I'm fairly new to asp.net and cannot see where the did variable picks up the "ad" string.
Any help would be greatly…
What actually happens when you target the .NET 3.5 framework in Visual Studio? What does that actually do? Does it somehow "flag" any of the output files and associate them with the framework version?
We are getting quite a few errors in our logs where the user agent is DavCInt and verb is OPTIONS. Does anyone know who/what might be making this type of request?
We are using ASP.NET MVC and all of our controller actions are decorated with HttpGet or HttpPost as appropriate so a controller supporting the request is of course…
In our organization, we are still on .net 1.1 environment, using javascript, a few open source applications/widgets. Development is done using Visual Studio 2003, grid view, and iframes. Our application works in Internet Explorer 7 and IE 8 (in compatibilily mode). Can anyone give any basic steps we can take to get our…
I.m using FCKEditor(2.6.6) in an asp.net 2.0 project Using the upload tab on the link dialog, I get alertbox with 'Invalid Request'. yet when I use the resource browser to upload a file; It succeed.
What the difference?
We need some simple ad-hoc reporting solution for our ASP.NET web-site.
Just an ability to build a query with user friendly interface, then show the result of this query in some table and maybe export it to Excel or print.
The solution must be quite easy for end users (our site visitors) who know nothing about…
When I look at ASP.NET MVC projects I everytime see loose coupled architecture.
For what do I need a loose coupling in a web architecture (if I do not make unit tests)?
What are advantages and disadvantages of this?
I see a lot of exampls of how to use StructureMap in a asp.net project like this:
StructureMapConfiguration.ForRequestedType<IResourceA>()
.TheDefaultIsConcreteType<ResourceB>()
.CacheBy(InstanceScope.Singleton);
Yet, in my Global.asax I can not access the StructureMapConfiguration object…
Is it possible to wrap some "external" API code AND a LINQ data context into a transaction? In my case, I want to wrap the ASP.NET 2.0 Membership API calls AND my own LINQ operations into a transaction.
Hello,
HttpContext.Current.Request.IsLocal is not available in Global.Asax (Request is not available in the context).
How else could I safely determine if my ASP.NET MVC application is started locally or not?
Thank you!
Hello,
With asp.net mvc you can use the annotation
[Required (errormessage="This is required")]
How can I create something like this:
[Required (errormessage="ERRORXX")]
So I can look up in a database what this ERRORXX is and display it on my form. Now my form displays ERRORXX.
How can I create something…
Is there any framework or tool to generate web services (WCF) access to all the non transactional tables in my database? something like asp.net dynamic data but with web services, I need to do this for homologation with other systems.
Hi All,
I have a asp.net page which is checking a UNC path on a listbox item change event using Directory.exist method.
This works fine in Internet explorer.
But when i use firefox and debugging this method returns false even though the directory exists.
What could be the reason for this strange problem.
…
Is there any easy way to query a stored procedure (Oracle - PL/SQL) for what parameters it expects?
I know that I can query USER_SOURCE to get the whole procedure but I'd then have to parse the whole procedure, and if the parameter is of type [table].[column]%TYPE I'd then have to query the table schema as…
How can I attach jquery on an ASP.NET MVC partial load. I've a form rendered in a partial that has some jquery attached, but that code is not running at all