I am trying to create an MVC 2 solution and I have run into the following problem:
Index.aspx:
<% using(Ajax.BeginForm("Forms", new AjaxOptions{UpdateTargetId="form", HttpMethod="POST"})) { %>
<h3>Input: </h3>
<p><%= Html.DropDownList("dropDown")%>
<input type="submit" value="Select Mission" /></p>
<% } %>
HomeCon...
I am using ModalPopupextender.
How to disable the specific background of page instead of Entire page.
for example i have div it has some controls.when i click to show the modalpopup. i want to disable only the div instead of whole page
...
Similar question: Using Silverlight for an entire website?
That question is over 2 years old. Silverlight has gone a long way from Silverlight 1.0 Beta 1 to Silverlight 4.0 Final. Would it be practical to create a full Silverlight web application these days? I plan to deploy the website sometime around Q1 2011.
I have thought about go...
Hi all,
I'm not sure if what I'm trying to do is possible - pretty much I just want to call a user control using AJAX and get the rendered html of the control. However, when I try and fetch the control I get the following error message:
This type of page is not served.
Description: The type of page you have requested is not served bec...
I made a pop control on the master page in asp.net 3.5
please see the following code:
Main.master aspx code:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Panel ID="Panel1" runat="server"
style="display:none; background-color:White; width:700;
border-width:2px; border...
Hi,
For some reason I cannot monitor my asp.net page's request/responses to my local host in IE 8.0.
I use fiddler and I modified he url as this -by adding a dot before the semicolon-
http://localhost.:52749/JQuery/Chapter16-AJAX/PersonEditor.aspx
I get this error:
[Fiddler] Connection to localhost. failed.
Exception Text: No connec...
Hi there,
Can someone point me in the right direction of adding usercontrols to an update panel.
Basically I have a usercontrol that is setup to capture a persons education details. I want to have a button inside the update that when the user clicks loads the usercontrol below the previous usercontrol.
Any help would be great.
I have...
I'm having a bit of trouble using AJAX action links. Whenever a link is clicked, the UpdateTargetID container is not updated unless the link is clicked twice (which throws an exception on the 2nd click, since the item has already been deleted; after this exception, the page updates).
Also, on the first update, the entire page is reloade...
I'm using AJAX.NET including update panels, web service calls, client controls etc.
In may page I include 3rd party javascript file that makes keep-alive call for limited preconfigured amount of time (say 30 min). this script is my session keeper.
every time the user have an interaction with the browser - i want to run a method in this...
I have noticed that all the example in the internet uses Service Path of ASMX for a cascading dropdown list, is there a way to use more modern technology as it's service path? I was wondering if I could use DataServices for it?
...
Hi,
I am using a MaskedEditExtender on a textbox to verify a date. MaskType="Date" Mask="99/99/9999". Users of the system are used to typing just the last two digits of the year (i.e. 22/06/10) so I am trying to make this possible.
I have tried using Century="2000" but this option does not seem to function at all (still results in 22/0...
Hi everybody,
I have a Page that automatically generates a file and sends it to the Response. I need a Dialog to be shown during the file creation and hidden after the browser download dialog appears.
Any suggestion?
Thanks! :)
...
I have a aspx page with UpdatePanel. In code-behind, I define a public var and function. The function use input date to calc the public var from database.
Public myRate As Decimal
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
CalcT.Attributes.Add("onchange", "cstgst();")
'........
I'm building an ASP.NET MVC site where I want to implement jQuery AJAX calls in some places. I've read up on the subject, but still have a few questions.
Model Binding
First of all, what is the correct way to pass data through the AJAX calls and have it be model-binded into an object inside my Controller Action?
So far, I've read in...
We have a SharePoint Solution that uses the Microsoft Ajaxtoolkit.
I am doing some performance testing and see that the javascript is being downloaded for each page, causing some page to download more than 1 MB.
The type of call that is being made is:
http://serverName/ScriptResource.axd?d=aMbl7-5dNZOmlggsdXNoTVIFa6esvsBgC6BHXX0EL95-p...
I have a grid. Inside the grid I have a button which is placed inside an update panel, which when clicked should do something I tell it to do in code behind. The problem is that when I click the button, it ignores the fact that the button is inside the update panel and it refreshes the entire grid, instead of refreshing only the stuff in...
Hello,
I wanted to display a date pickerwhich disply two month at atime, Eg June-2010 & July-2010
For that I used two calendar extender controls tha target id of both the controls are pointing to one text box. I am able to position the two calendars adjacent. Onclientshown event I captured the Next and Previous button events of both cal...
Hi, I've been trying to add the ASP.NET toolkit to my web application and I can get the demo site to work but I can't seem to implement any of the controls in my application. After playing around with it for a while, I think I've found the problem. In my web.config, I have:
<authorization>
<allow roles="Users"/>
<deny users="*...
Hi,
sorry for the silly question, but i am stuck converting for example the following result from a method into Json
public string Test(string input)
{
return "Name:"+input;
}
to look like this
{"Name":"Mike"}
thanks in advanced
Update:
Darin fixed first problem now i am using this way but it is not working
String...
Hi All,
I am using MaskedEditExtender so that user can enter date inside textbox with specified mask like "DD/MM/YYYY".
i am facing problem when i am trying to assign value within text box from some string variable while when i am directly typing value within text box it's successfully enter like "28/06/2010"
How can i assign value wi...