Good morning all,
I'm sure this is a gimme, but I have no idea where this issue is coming from.
I have the following lines in a view:
<fieldset>
<dl>
<dt>
<label for="FormTypes">Form Type:</label>
</dt>
<dd>
<% =Html.DropDownList("FormTypes", "All") %>
</dd>
</...
Does anybody have any strategy or ideas for overall handling of errors and session expiration in a big ajaxy application? In a traditional web application when everything was a post or get, it's easy to handle errors and session expiration and present friendly messages to users. Not so much with modern ajaxy web applications. My web a...
we Have 3 dropdown in aspx page, and also script manager and Update panel. If there is some Post back date in the page meaning drop down selected, and i refresh the page, at that time i got this error. After this error Model Process bar is Continiousaly running on page .....
Error: Sys.InvalidOperationException: Handler was not adde...
I would like to have filtering page that performs ajax requests to asynchronously update list of results.
There are two comboboxes with option values and one Ajax.ActionLink.
The list is rendered as a partial view inside a div.
I know how to implement the controller part and also the interaction logic. What I am missing is how to pass ...
I need to use javascript to request some data from the server in a.NET 3.5 Webforms demo app.
It comes to mind that I have only ever done this with AJAX.NET, jquery, and updatepanels. I don't want to involve external technologies, nor do I want to do even a partial postback. Can anyone point me at an example of the simplest way to do t...
I want to change a user created control based on content of the input inside of textbox tied to JS.
My user control has an attribute field titled "userInput" where I pass the content of the textbox.
My page looks like this:
The textbox has an autocompleteextender and a Javascript function runs when an item from the dropdown is selecte...
On PostBack, from clicking on an ImageButton, it first hits
protected void Page_Load(object sender, EventArgs e)
Then it hits
protected void ImageButton_Click(object sender, EventArgs e)
My problem is that in my Page_Load it refreshes a ListBox before the selected items can be processed by ImageButton_Click.
Is there a way to te...
Hi,
Has anyone had any experience writing a web control (in either ASP.net, or javascript/HTML/CSS), that could be used to display log information which is pinged from a server every now and then via an AJAX query?
I'm thinking a grid control from someone like Telerik, or maybe a javascript jQuery-type library would at least have the p...
I am loading a custom ascx control in page_load of the page that hosts it.
This creating all sorts of issues with postbacks. Mainly, control (textboxes, dropdowns,etc) states are getting reset before the event handlers can process them.
Does any one have any good examples of how I could handle this?
My site design can be seen here.
I'...
How can I draw free hand lines above a image in ASP.NET 3.5 AJAX?
...
Hi,
i want to create a validatior via code behind.But although i create it,it doesnt fire when postback occurs.I craete validator in Page's Onload event.What can be reason?Here is my code.
Public Sub Validate(ByVal p_Page As Page, ByRef p_AssignedControl As System.Web.UI.WebControls.WebControl, ByVal p_Message As String)
Dim v_VCA...
Hi there
How do bind the SelectedValue in html.dropdownlist? BTW .. I am using the code as follow:
This is my repository:
public IEnumerable<SelectListItem> GetPlayers(Int64 SelectedPlayer)
{
var t = db.Players.ToList();
IList<Player> player = db.Players.ToList();
IEnumerable<SelectListItem...
work on asp.net vs05. i want to set the system date as default value for the CalendarExtender in my textbox.In page load event if i write
textbox.text=datetime.now;
than it show error.if i click on CalendarExtender image icon to show calendar than it show an error message on status bar "error occurd"
How to solve this problem?
<asp:...
Hi,
If in the ASP Form "A" I have a Updatepanel ... How refresh this when click in a button of ASP Form "B".
Thanks
...
I have an assembly that contains an embedded resource. However, when this assembly is accessed via the web, I get the following error: Assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not contain a Web resource with name 'MyAssembly.MyScript.js'.
Ironically enough, if I write an app that uses reflection ...
Does Microsof Ajax library use $ function at all?
Do I need to use jQuery.NoConflict() if I use with Jquery libarary?
I checked the reference, it looks like Microsof Ajax library use $get function to get the element by Id, so do I need call jQuery.NoConflict() if I want to use it with Jquery library.
...
I have a DIV in which I have a asp:repeater which, based on data, puts information in this div. I then use Jquery's UI dialog to display the data to the user via a button click. This all works swimmingly.
So, I want to be able to add records to the data which populates the repeater. I have another part of the screen where people can ent...
I am trying to enable the back button on ajax calls...my solution...when an ajax call is made, create a guid, insert into the database the variables and insert the guid into the URL...when the user hits the back button, call the database with that guid to get the variables and set the page up....so back button would work normally in ajax...
I am working on an ASP.net Ajax custom control, I have tried to derive from ScriptControl and a I also modified my code to implement the IScriptControl interface and do the nessecary wiring in the PreRender and Render methods.
The frameworks spits out a call to $create:
Sys.Application.add_init(function() {
$create(MyContr...
I'm new to ASP.NET MVC, but I need to perform a search for articles that match a selected category. The results of this query need to be written into a "search results" div overlay with DHTML- jquery, probably.
So, I need the results of an Action, but not to render a view. I was thinking I could use Json and then iterate over the res...