I have following entities:
In my code i need to update the FKCategoryID in entity BudgetPost but im getting error:
FKCategoryID is part of the object's
key information
Is it any way to update the key in this case or it's not possible?
Thanks in advance
...
Hi!
How can i pass to asp.net mvc action parameters like: line[first], line[second], line[third], people[john] etc?
For example we have html:
<form>
<input type="hidden" name="line[first]" value="hello" />`
<input type"submit" value="send" />
</form>
How we can take "line[first]" value when user clicks on send button?
...
I have an asp:button with an onclick property that posts back to the server. I would like to do some validation on the contents of a textbox before I fire the postback. I want to do the validation in javascript using some regex.
I cannot use an asp:XXXXvalidator; I just can't due to what my web app does.
Is there a way to call a java...
The Difference between an ASP.NET Website and ASP.NET Web Application has been asked many times. However, I couldn't find an answer to my question as to whether there is any real performance difference in using one over the other. Further, it is my understanding that a website project is dynamically compiled; does that means every time a...
I just developed a simple asp.net mvc application project for English only. I want to block user's any input for a language other than English. Is it possible to know whether user inputs other languages when they write something on textbox or editor in order to give a popup message?
...
I have a GridView with a row number (Container.DataItemIndex) column in ASP.NET (1,2,3,4, ...)
I added it in GridView by following code :
<asp:TemplateField HeaderText="#" SortExpression="#">
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>
I wanna sort the ...
I have already a MVC-webapplication, I wounder should I create a new WCF Service Appication or should I insert a serivce in same webapp udner the folder "Model"?
What is the best solution?
...
Hi
I have a web application running most of my services through web services.
first i want to know how much degradation in performance would take place using AOP in web context for example
if i can handle 200 request/second without AOP, what would be the result with it (having simple logging and authorization)
Is there any great AOP f...
Hi All,
I dragged an Entity Data Source on to my asp.net web page and a gridview. How exactly do I sort my gridview by default on a column (and descending order)? I've tried a lot of things with no luck.
Thanks,
rod.
...
Let's say we are developing an E-Commerce Web application for a small to medium sized business. Let's further assume that the business is likely to scale over time. In other words, the product line will typically grow.
Up to now I have developed n-tier solutions using ADO.NET and stored procedures with the help of the SqlHelper class. F...
This is the code from .aspx file
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Login Again</title>
<script type="text/javascript">
function Validate() {
if (document.getElementById("txtLogin").value == "") {
alert("Enter login name.");
}
...
Hi all,
I'm trying to set up a YAF forum 1.9.4 and am having a problem with the profile section in the config:
When I tested this locally everything worked fine but on on my web server I get the following error: "The type or namespace name 'ProfileCommon' could not be found"
I have uploaded all files and I can see a file called...
I am making an application that deals with vehicles. I need two DropDownLists:
Makes: All Vehicle Makes
Models: Models that belong to the selected
value of the Make DropDownList
How is this done in MVC2?
My Idea: Do I use an ajax call when my first list is selected and then pull back the Models to bind to the Model DDL? How woul...
Hello, what is the recommended data access strategy for the following environment: single stored procedure, many parameters, asp.net 4.0, sql server 2008, and the stored proc returns 11 different recordsets, all of which get displayed in various different elements too complex and specific to be handled by server controls. Thoughts?
...
I am hoping someone can point me in the right direction here. I am trying to create web service that will return ajaxified results. Specifically, I want to write a web service that will fetch email through a secure connection. However, rather then have the web service return every single email, I just want to fetch maybe 5 emails at a ti...
I'm in the process of building a web cms platform. And I've come to a point where I have to choose what actually goes in the pages (I've been building the "core" for now).
What do you think is the best option and could you give me your reasons for choosing that?
Currently I'm looking at jQuery UI, Telerik, and I'm also juggling with t...
Hi All ,
I am trying to publish the messages from the .Net to the weblogic jms queues.I am using the weblogic .net api for this .I can successfully send the text messages but when i try to send the large messages , I am getting exception - can not marshall string larger than 32767 characters.I tested it and i can send messages with char...
Gurus,
So I am trying to avoid enabling EnableViewState...
Sample code as you can see has 1 repeater and 2 textboxes inside. I bind the textboxes at page init. After a postback I want to get the updated data from the client & save in a db.
The Request.Form contains the data keyed with autogenerated client ids but the repeater has 0 i...
Does anyone know how to add an com (active x) control to an asp form? I have ticked the object in the "tools->chose toolbox items" list but it never actually appears in the toolbox.
I have tested with a standard C# win forms application and then the com object appears in the toolbox. When i try to use the com object in an asp.net applic...
What are the requirements for running an SSIS package from an asp.net web site?
...