I'm trying to stop postback on form submit if my custom jQuery validation returns false.
Is there any way to prevent the __doPostback() function finishing from within the submit() function?
I'd assumed:
$('#aspnetForm').submit(function () { return false; });
would do the trick, but apparently that's not the case: does anyone have a ...
Hi,
I'm using an editor control of ajaxcontroltoolkit.
<cc1:Editor ID="EditNews" runat="server" NoUnicode="true"/>
My problem is that when I try to get the content of Editor by:
Literal1.Text = EditNews.Content;
if in the editor there are breakLine for example "If I write"
Text Text
Text
Text
In Literal I get:
Text Text
Tex...
Hi All
I am using ajax tab container in master page with more than 4 tab panels, but when i include asp:contentplaceholder in content template of each tab panel i am not able to see the second or the third page (aspx) when i click on the tab.. i searched through net but didn get any answers. Pl help me.
only the first page (aspx) incl...
Those errors seems to happen randomly and in the whole system. Sometimes when we click in a button, or even try to login, a alert comes up with the "Message cannot be parsed" error.
Funny thing is that when I turn on fiddler, the thing stars to function ok.
Sniffing the connection via smsniff i was able to capture the traffic of the bu...
I have more than 20 update panels and update progress control on my page.
Every thing works fine on my local machine. But on server when i click button 1st time update panel and update progress works fine but 2nd time the update panel not updates and also updateprogrss image not vanishes..
Is there any thing version conflict , problem on...
I'm using ASP.NET and attempting to call a method with a signature of
[WebMethod]
public static string GetInfo(string id){...}
using the following javascript:
var elementValue = $("#element").attr('id');
var d = "{id : " + elementValue + "}";
$.ajax({
type: "POST",
url: "../WebPage.aspx/GetInfo",
...
I've been away from building browser applications for a long time. I'm now interested in creating one for a hobby of mine. I dread having to deal with HTML, JavaScript etc. to build a high quality browser based user interface. I've got the full suite of Telerik controls. Is it possible to build a polished, somewhat feature rich browser U...
Hi Everyone.
I've got a problem with an updatepanel.
There are number of child triggers for the updatepanel so ChildrenAsTriggers is set to true.
The async postback controls are a gridview, several linkbuttons and a normal button. All controls work fine apart from the normal button which doesn't post back at all, neither synchronousl...
hi,
here is my scenario
i got
Table1
id
name
Table2
id
family
fid
with one to many relationship set between Table1. id and Table2.fid
now here is my WCF service Code
[OperationContract]
public List<Table1> GetCustomers(string numberToFetch)
{
using (DataClassesDataContext context = new DataClassesDataContext())
{
...
I want to validate a decimal value in an ASP.NET web page using JavaScript, so that the user can enter numbers with only two decimals. The validation should also consider the current UI culture (e.g. ',' instead of '.'). I use Microsoft's Ajax Framework, is there any function included in the library for such a thing?
...
hi,
i am going crazy i have read like 10s of articles also on stackoverflow about that i am calling webservice in restful way and should enable this in service and in webconfig, so i did that but as soon as i add the [WebGet()] Attribute i get this crazy error if i remove it then the service get called seamlessly
i am using
VS 2010 ...
I have developed a custom SharePoint web service, and deployed it to /_vti_bin/myservice.asmx. As a "regular" user, browsing to that ASMX URL works fine. When I try to browse to "/_vti_bin/myservice.asmx/js" as required to call this service from ASP.Net AJAX, I get a 403. If I browse to it as no less than a farm admin (site collection...
I have asp.net content page with an update panel, asp.net controls with ajax extenders and it has asp.net button with event click.
everything is working ok exept one case.
I have 3 DropDownList with CascadingDropDown extenders. when I click the button without selecting anything from DropDownLists then click on the button the event clic...
[Edited: After cross-testing on a fresh machine and some additional research, this appears to be an issue running in IIS 7. I've read many accounts of problems online but none of the few resolutions I've seen made sense nor (surprise) worked.]
Hi folks, I'm new to ASP.NET AJAX and am having what I assume is a configuration issue.
I've ...
In code-behind I can do this to select something:
// Select item in first DropDownList
myCascadingDropDown_1.SelectedValue = itemValue_1+":::"+itemText_1;
// Select item in second DropDownList
myCascadingDropDown_2.SelectedValue = itemValue_2+":::"+itemText_2;
How can I do this in JavaScript?
(I'm aware, that I could search the list...
Hi,
Just wondering if anyone has a good solution to utlise ValidatorCallout with a CheckListBox ?
The only solution I could see was creating a custom RequiredFieldValidator as per http://www.4guysfromrolla.com/ASPScripts/PrintPage.asp?REF=%2Fwebtech%2Ftips%2Ft040302-1.shtml.
If anyone has any good solution, it would be appreciated if...
Hi,
I' still newby to this so I'll try to explain what I'm doing. Basically what I want is to load a dropdownlist depending on the value of a previous one, and I want it to load the data and appear when the other one is changed. This is the code I've written in my controller:
public ActionResult GetClassesSearch(bool ajax, string phy...
Greeting,
I'm beginer of ajax technology and now i need to create two dropdown in
MVC project for example:
First dropdown has the list of classroom [601,602,603] when i choose one then next
dropdown will has the list of student belong to each class room.
Now, I already create the repository class that has method GetStudentByClassroo...
I trying to implement the example Launching a modal Popup window from Server code which requires the Ajax Control Toolkit. I'm using the RC 2010 Visual Studio with ASP.NET 4, which I thought had added the Ajax stuff without needing to seperately install it.
It doesn't run and the compiler complains about ajaxToolkit:ModalPopupExtende...
hi,
I am having problem in getting reference of Ajax control extender using $find() or $get or document.getElelmentById() functions in java script
Can any one tell me how can to do this?
Thanks in advance :)
...