it possible to use the JQuery custom CSS file I created to format Ajax controls. I created a Jquery UI Tab control and loved how it looked. I am using an Ajax Tab control now but want to some how set its CssClass so it looks the same as the JQuery control.For example;
I am trying to call web service from jquery..trying following way but i am not able to pass to complex type parameter to WCF service.My wcf function is as follows
<OperationContract()> <Web.WebGet(UriTemplate:="/GetData?strErrMsg={strErrMsg}&chrErrFlg={chrErrFlg}", ResponseFormat:=WebMessageFormat.Json, BodyStyle:=WebMessageBodyStyle.Wrapped)> _ Function GetData(ByRef strErrMsg As System.Collections.Generic.List(Of String), ByRef chrErrFlg As String) As String strErrMsg is System.Collections.Generic.List(Of String)
I am trying to call as follows
var Type; var Url; var Data; var ContentType; var DataType; var ProcessData; var parameters;
[code]...
And I am able to call other methods in same way having string and integer parameter.I have gone through this but didnt get anything. URL...
When I implement Custom web control inheriting ASP.NET Menu Ajax is not working. I try to Override Render method and generate Li's rather than table.I try to use Control Adapters, but when I am not using adapters for some pages ithe base adapter is generating just hyperlinks with span. I do not want this way. So I can not use these.
I could also write every validation for each object separately, I have only a few elements who uses a required validation but it would be nice that I could do this in one shot instead of repeating the $("input").rules("add .....
I am using jQuery for custom sorting my <ul><li> list.But I have a problem. I can sort and move those <li>-s but problem is I don't know how to update database with new order integers.Example of html ul li:
[Code]....
This is an example of my li element.. I have id=43, thats Id of picture in database.I use this javascript for trying to somehow make array and read that id into array:
[Code]....
Problem is I don't know exactly what am I doing wrong, because my event doesn't fire, when I press "update button.. Update button fires "update" function on click:
[Code]....
I hope someone will try to explain.Do codebehind and html needs to be in the same document? Can I use ascx and use "update" button there, to fire aspx methode?
I have a custom control, that has takes some information from user and submit to the database. it is working fine in normal aspx pages. but when i display that custom user control in jQuery modal popup. The events does not fire or lets say the data is not submitted to the database.
I am trying to build a custom composite control, which allows me to add custom content to each child control. It's a similar concept to what you have with a GridView and TemplateColumn. The markup used to place the control on the page would end up being something like this:
[Code]....
I have the code below, which allows me to put that markup on the page without throwing any errors, and it renders all the correct HTML, except it doesn't render the contents of the ColumnTemplate. I have replaced the Render() code with a comment because it's quite long winded and doesn't add anything important here:
[Code]....
I have tried to follow examples on MSDN and other forums but I can't make this work. I think I'm missing the code to render the contents of the template, but I don't know how to hook that up.
I have some code which i know works. I use jquery json to call a web method on aspx page, which returns data i use to populate a dropdownlist. Now, i have put this functionality into a server control including the webmethod. Now im not sure how i can call this webmethod from json. Is this possible to do or will i have to create a web service somewhere?
I have created a custom control with three dropdown list boxes. Based on the selectedItem in the first ddl, other two ddl items will be populated. I have this part working fine. I have an asp:panel control, "Add", "Delete" and "Submit" buttons with in an ASPxRoundPanel on my web page.
btnAdd_Click event has the following code: Control control = LoadControl(Path + "myCustomFilter.ascx"); control.ID = "FilterControl" + Convert.ToString(pnlCustomFilter.Controls.Count + 1); ((myCustomFilter)control).FilterDataSource = dtSource; //Add to dynamic control panel pnlFilterControl.Controls.Add(control);
First added control displays fine. When I add second control, I don't see pnlCustomFilter display on the page.
What code should go into Page_Load IsPostBack block to refresh pnlCustomFilter and myCustomFilter selected items? When delete button is clicked, I need to delete selected customControl from pnlCustomFilter. How do I get selected pnlCustomFilter.ControlId? How do I delete it?
I have some (probably very basic) questions about developing custom controls. I am wanting to derive a set of button controls, and the first one I have started on is a "DeleteButton", that has a additional property (DeleteConfirmationText) that is built into the OnClientClick attribute. To get that added, I overrode the Render method as follows:
[Code]....
This all works well. Now, I will add some logic to make sure that there is some text in the DeleteConfirmationText property, but that isn't the intent of my question. What I am also wanting to do is to override some of the default property values, so I added that to the default constructor:
[Code]....
Now, in the designer in VS2008, and I look at the properties for the control, there isn't a default value shown in the "Properties" section, and the Causesvalidation still shows the underlying classes default value of "True". As well, in design mode, where the GridView control that containse my DeleteButton control would be displayed, there is an error box "There was an error rendering the control. 'Are you certain you want to delete this attorney?' cound not be set on property 'DeleteConfirmationText'. Here's the markup where I am defining the deletebutton control:
I have a problem in my mind which is how to add custom JQuery in to our asp.net web site. As an example if I want to add editable diary in to my web site how do i used already build jQuery plugins to my site.
I am trying to implement a webpart control with some ajax functionality and I just realized that when the webpart is on the page in shared view and the user is not logedin then the webpart/ajax control does not fire the OnPreRender event and so the scriptcontrol does not get registered....
even tried puting a simple hovermenuextender on a webpart control and the same error occurs:
"Extender control 'HoverMenuExtender1' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors(). Parameter name: extenderControl"
this only happens when a webpart control is on the page in shared view and the user navigates to the page without being logged in....
I have a Custom confirm box with Yes No.....The function executes in Jquery when click on Yes/No.But I want to exec my code there.....how it is to be done?This is code
//This is the file creating ConfirmBox <script type="text/javascript" src="scripts/jquery.alerts.js"></script> <script type="text/javascript" >
In asp.net ajax we have controls Like,Tabcontainer,TextBox Watermark,Toggle Button,Password Strength etc..., and same Functionality/Controls also there in Jquery.. and Jquery does this in client side itself and what's the use of having the control in Ajax Control ToolKit(Server Control).. and what is main Difference?I think Jquery more efffective than Ajax Control
I am trying to implement a webpart control with some ajax functionality and I just realized that when the webpart is on the page in shared view and the user is not logedin then the webpart/ajax control does not fire the OnPreRender event and so the scriptcontrol does not get registered....
even tried puting a simple hovermenuextender on a webpart control and the same error occurs:
"Extender control 'HoverMenuExtender1' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors(). Parameter name: extenderControl"
this only happens when a webpart control is on the page in shared view and the user navigates to the page without being logged in....
If I use jQuery AJAX to call a specific ASP.NET page method how to have that method return a value back to the AJAX method that called it?
Update
My situation is I have an existing web application with many existing methods. I would like to be able to use jQuery to execute some of these methods and then update the UI with the results. My mandate is to stay away from ASP.NET AJAX and stick with jQuery. Management is concerned about continued development and support with ASP.NET AJAX from Microsoft. I agree with them.
I have the following code where the function codeaddress geocodes the text feild value and returns geocoded value , geocoded value is stored in variable example ,how will i return the variable v2 to the function call and post to asmx webservice.
I am developing web application and in application i need to make call of jQuery using .ajax(); method with datatype is set jsonp. Now all works well with limited data but problem start to occur when data size is increasing......