I have a problem with setting validation message. i have two Model in one control and both Model have same property "amount".
So setting validation for one Model.amount will reflect to other Model.amount as well. I have tried to pass different ids to both but not working.
<%= Html.TextBox("amount", Model.amount, new { id = "Pamount" }...
We're having problems with an ASP.NET application which allows users to upload, and crop images. The images are all scaled to fixed sizes afterwards. We basically run out of memory when a large file is processed; it seems that the handling of JPEG is rather inefficient -- we're using System.Drawing.BitMap. Do you have any general advice,...
Hi All,
Im executing javascript on a master page that is onClick event of a Menu item i set it to a hidden field and on Init of the Master page im not able to access this hidden field value.
Regards
...
Duplicate:
What ORM frameworks for .NET Do You Like Best?
What are you currently using for data access?
When choosing an ORM, is LINQ to SQL or LINQ to Entities better than NHibernate?
Database (and ORM) choice for an small-medium size .NET Application
Etc.
What OR\M would you recommend for a large ASP.NET application, Entity Framew...
I've a composite data-bound control which hosts a IBindableTemplate and dynamically loads a mark-up based on some condition into the control. Now, when these child controls are loaded into the composite control and postback is there, I lose viewstate of the child controls. Is there a way, I can save viewstate of the child-controls on the...
I have two servers, one in a seperate domain and the other on the primary domain, that need to pass web service calls back and forth to each other. For security and various other reasons, I don't want these machines to talk directly to each other.
I would like to have a server that sits between them to route these web service requests ...
When you assign an active IDataReader object to either a Repeater, GridView, etc., does it automatically get closed upon completion of the DataBind method call or do we still need to explicitly close it ourselves?
this.sampleRepeater.DataSource = ExampleDAL.GetIDataReader();
this.sampleRepeater.DataBind();
...
How can I ensure IIS (and Cassini) send css and js files with the content-type header (ie text/css;charset=UTF-8)?
...
Duplicate
http://stackoverflow.com/questions/308685/best-asp-net-wysiwyg
http://stackoverflow.com/questions/590960/whats-the-best-wysiwyg-editor-when-using-the-asp-net-mvc-framework
http://stackoverflow.com/questions/364642/how-to-make-a-wysiwyg-section-on-a-web-page
http://stackoverflow.com/questions/65800/whats-the-best-html-...
Hi all,
I recently got a project where i need to create a web app in asp.net.
This is my first big project so i figured i'd ask you guys for your input on how to go about doing this.
I'm planning on using asp.net webforms for this project.
The app requires a bunch of summary pages that are some what similar (with the exception of a few ...
Hello,
I have ASP.Net web app and my c# code calls into a custom COM DLL.
The DLL was written awhile back and uses fOpen. he fOpen calls return a NULL pointer. I am suspecting it is permissions, but I am having no luck in recolving the issue.
Can anyone give me any ideas of what to do? Can fOpen be used? Are there special permissi...
Hi,
I have a datatable with a bunch of rows in it, the first column is an Int32 and I want to perform a simple select like:
select * from MyDataTable where column1 = 234
...
Can I know some tips and tricks to improve AJAX autocomplete performance?
Thanks.
...
I have read some approaches to storing viewstate on the server:
Here is one
Here is another
But they are sort of complicated. I am looking for a way to persist an object without having to serialize it. I could use session state, but if a user opens more than one window, there could be overwrites of the object.
Is there a simple solu...
Hi all,
How do it create/access my own properties for elements in C# that I will use in JS.
and how do I access properties that are avaiable in Html but don't appear to be exposed in the c# set like the border property for tables
I know I can do it with styles and classes, but it seems like a limp around as opposed to the most...
Hi
I save my images into my SQL Server Database with ASP.NET(2.0).
(imageData -> image) (imageType -> varchar) (imageLength -> bigint)
Thus the imageData will be "Binary data" and the imageType will be like "image/gif" and the imageLength will be like "6458".......
Is it possible to get the image HEIGHT and WIDTH from my VB.NET code ...
I've just installed IE8 (final) and restarted. I can no longer debug Web Application Projects using Visual Studio 2005 on Windows Server 2003 Enterprise R2. I get the message "Internet Explorer cannot display the webpage" and then WebDev.WebServer.exe quits with no visible error message and nothing in the Event Viewer.
Does anyone have ...
I'm maintaining an ASP.Net 2.0 website that displays products in a GridView. The client has asked if I can display an "Add to Cart" button every 10th row. I could do this by putting the button in its own column and flipping the visibility but I wondered if I could inject a new row after every 10 items. This puts the button on a row of it...
Hello Friends
I am using Asp.net c# develop web application
How can I open up a response.redirect in a new browser window?
e.g
Response.Redirect(http://www.asp.net);
Thanks
...
Hello,
I asked a question about interfaces previously and got some excellent responses. I'm really excited to start developing really flexible code.
I now have a question about overriding a virtual method.
I am currently working with the Community Server SDK. One of the controls is a 'tag' bread crumb. So it will list the 'tags' on th...