AJAX :: SQLDataSource With Parameters Doesn't Work Inside A ModalPopup?

Jun 8, 2010

although I've searched already, but here is the thing:I have a ModalPopup wich have a Textbox, a Button and a GridView inside. The Gridview is binded to a SQLDatasource object, and the Select query is something like "SELECT field_1, field_2, field_3, field_4 FROM Table_Name WHERE field_1 LIKE '%@Parameter_2%'".This ModalPopup is used (or gonna be used) to search for a field, so the parameters received by the Query is the text inside the Textbox, I've linked thid inside the SQLDataSource Wizard.The problem is that everything works perfectly fine... inside the panel WITHOUT the ModalPopup Extender, but whe I add the Extender the filter function doesn't work.Here is my code:

[Code]....

Notes: I have a ScriptManager inside the MasterPage, so I don't have to insert one in every page. Also I've tested the code in a new page (the one I use for testing), and it works fine, it filters and everything, the problem is when I add a ModalPopup to the panel.

View 3 Replies


Similar Messages:

Use Url Rewriting Then Modalpopup .net Ajax Controltoolkit Doesn't Work?

Apr 4, 2011

Why when i use url rewriting then modalpopup(asp.net ajax controltoolkit doesn't work?

View 3 Replies

AJAX :: GridView Inside A ModalPopUp / Work On The Grid Without The Pop Up Closing Everytime?

Apr 14, 2010

I have a GridView inside a ModalPopUpExtender and would like to know how I can ensure that I can work on the grid without the pop up closing everytime i click on say 'edit' or 'delete' on the grid items.

At the minute my pop up is working great, then i click on 'edit' on a row in the grid and it the pop up closes, I then click the button to fire up the pop up again and the grid is in the mode i wanted it to be in!

View 2 Replies

JavaScript - Ajax Post Doesn't Work With HTML In Parameters

Sep 24, 2010

After upgrading our project to the .net 4.0 framework (from 3.5), we facing some problems with ajax calls with html in the parameters. As soon as the user enters some html in a text area the ajax call isn't executed anymore. If the user enters plain text only, there is no problem.

[code]...

View 2 Replies

AJAX :: Javascript Doesn't Work Inside Updatepanel

Feb 1, 2010

I hade a user control in my web application that I had inserted into an update panel.. after doing that the javascript of that control stoped working!

View 4 Replies

AJAX :: Method Doesn't Work On Panel Inside UpdatePanel

Dec 10, 2010

I have problem to show method value on asp:Panel.

This is my *.aspx code :

[Code]....

Code Behind :

[Code]....

In this case, I can't show value myMethod at code behind to aspx file where this method is called.

If I use postBackTrigger in upControl updatePanel then the method(myMehod) will show on upShow updatePanel. But the updateProgress doesn't work.

View 3 Replies

Ajax - Gridview Paging Doesn’t Work Inside UpdatePanel

Jan 26, 2011

Altough questions somehow similar to this have been asked for a number of times, but the question is still unsolved. Here is the question: I have a gridview which is contained in a tab container ajax control which itself is inside an updatepanel. Gridview works excellent and its corresponding methods are fired accurately, but when I enable paging, (e.g.) after I click on page 2, the gridview hides itself. here is my PageIndexChanging method:

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
GridView1.DataBind();
UpdatePanel2.Update();
}

Why paging causes gridview to stop working correctly? What can I do?

View 2 Replies

AJAX :: User Control With JQuery Doesn't Work Inside Update Panel?

Sep 21, 2010

I created a .NET user control to work as a DropdownCheckbox and added Jquery to give the sliding and hide effects. The code is as below:

[Code]....

This control works fine in a normal page, but once I put it inside an update panel it doesn't work. Is there a work around or simply I can't use JQuery inside update panel?

View 1 Replies

AJAX :: TabContainer Body Border Doesn't Work For Hidden Div Inside Tabcontainer

Dec 17, 2010

I use a border for the TabContainer body which works fine.

[Code]....

also I use three hidden divs and one visible div inside a main div which works as body of Tabcontainer

View 1 Replies

AJAX :: First Click Doesn't Show Modalpopup?

Apr 22, 2010

I have a very simple ModalPopup (with checkboxlist) + LinkButton in a page. I did everything as per the video tutorial. However, it appears that the first click on my linkbutton triggers a reload of the page and only after that, it starts working. How can I have it working the first time ?

Here's my code :

[Code]....

View 4 Replies

AJAX :: ModalPopup Doesn't Catch Click Event

Mar 12, 2010

I'm developing a page which has a master page, and in the contentplaceholder I have an UpdatePanel with a GridView inside. Out of the UpdatePanel I have a button which calls to a ModalPopup, in the modalpopup i have two textboxes, an accept button and a cancel button. If I put the textboxes in a div in the contentplaceholder everything works fine, it recognizes the click button, it makes the insert into the gridview, and refreshes the updatepanel and the gridview But, if I try to make the same proccess from a ModalPopup the click event is not fired. I tried everything, and I didn't forget to put the triggers in the updatePanel to make asynchronoys calls to the server. How can I fire a click event from a modalpopup in order to make an insert?

View 2 Replies

AJAX :: ModalPopUp Cancel Button Event Doesn't Fire?

Feb 2, 2010

I have a modalpopup that i have opening on a radiobutton selection. That works great, opens when it should and closes when you click cancel. BUT i have the following on my cancel button event that is not firing

[Code]....

I also have a button event for my "OK" button and that works great, but my cancel event doesnt seem to fire or work. Maybe the ClearSelection() is not what i need..

I want to clear the radiobutton if they cancel out of the ModalPopUp so they can make a new selection, since its a required field.

View 2 Replies

AJAX :: Modalpopup Control - Refresh The Page Modal Doesn't Show?

Nov 23, 2010

my problem is related with modalpopup control. i made a login control using it.

[Code]....

This works fine. Problem is this. When i click btniptal and then i refresh the page modal shows again. But When i click btngiris and then i refresh the page modal doesn't show. When clicking the btniptal button, the modalpopup should not show.If i make this codes in aspx page everything is ok. But i make this in usercontrol.

View 1 Replies

Vb.net - Dropdownlist Callback Doesn't Work Inside Div?

May 25, 2010

I have a callback handler done in VB which works fine with this code:

<!-- Div Outside Form -->
<div class="container">
<form id="querydata" runat="server">
<asp:DropDownList runat="server" ID="myddl" AutoPostBack="true" OnSelectedIndexChanged="myddlhandler">

[Code]....

It the postback no longer works. Is how asp is supposed to work? Or is it some magic error that only works for me? And most importantly, if asp is not supposed to work this way, how should I be doing this?

View 3 Replies

Web Forms :: AsyncFileUpload Inside MultiView Doesn't Work

Feb 25, 2010

AsyncFileUpload inside MultiView doesen't work! Is there a solution for this problem?

View 10 Replies

Web Forms :: ImageButton Inside IFrame Doesn't Work

Jan 19, 2010

I have an asp page that has an iFrame. In the onload event of the iFrame, the javascript code copies the content of the iframe to the div. The iFrame has src="test.aspx" and hence displays the content of the test.aspx inside the div.Test.aspx page contains and imageButton, which does not show up in the iFrame.I am getting the following issues:1. the image does not show up (cannot see test.gif)2. When i click on the imagebutton link, it tries to search for test.aspx in the directory where the asp page resides inside of the actuallocation/directory of the aspx page.

View 3 Replies

Binding Doesn't Work Inside A JQuery Callback?

Jan 10, 2011

I have the following code:

<input type="text" ID="JOB_CODETextBox" runat="server" value='<%# Eval("JOB_CODE") %>' readonly="readonly"
onclick="$('#basic-modal-content').modal(
{
appendTo:'form', persist: true,
onClose: function (dialog)
{
document.findElementById('<%= JOB_CODETextBox.ClientID %>').value = 'value';
$.modal.close();
}
} );" />

The problem is, the binding '<%= JOB_CODETextBox.ClientID %>' doesn't work, it returns the same binding expression after renderign instead of replace it with the actual client id!

View 1 Replies

AJAX :: Make This Work For Several Days But It Just Doesn't Work?

Oct 7, 2010

i'm trying to make this work for several days but it just doesn't work.

this is my code:

aspx page:

[Code]....

webservice:

[Code]....

this was downloaded from this website.

the problem is that the page loads fine but no autocomplete occurs.

View 5 Replies

AJAX :: Linkbutton Nested Inside A Modalpopup Not Found?

Mar 16, 2011

have a asp:linkbutton (ID="btn_1") nested inside a modalpopup, the page wont compile as per error: cannot find ID="btn_1", if I place link button outside modal all is good. Im guessing this a find control issue

<ajaxToolkit:ModalPopupExtender
ID="ModalPopupExtender_1"
runat="server"
TargetControlID="btn_1"
PopupControlID="PNL1"
[code]...

View 2 Replies

AJAX :: Unable To Access Dropdown Value Inside Modalpopup?

Sep 20, 2010

Modal popup is inside the update panel. I have a dropdown control inside modal popup. When i select the data in the dropdown and click ok on the modal popup it always shows the dropdown selectedvalue as first index no matter what i select .

View 4 Replies

JQuery :: Button Inside Modal Popup Doesn't Work

Jun 3, 2010

I have a small problem, I have a page which 4 jQuery modal popups. everything works fine, all the popup comes up however when i click on the button inside the jQuery popup nothing happens. I cannot figure out why.

This is the jQuery code i used [URL]:-

[Code]....

View 2 Replies

AJAX :: Open ModalPopup From Inside A Tab Control / Container / Panel

Mar 17, 2011

This is the question, how to open a modalPopup from a Asp:Link button inside a Tab panel?

Runtime error is Asp:Link ID not found, and thats because its in Tab Control, whats the work around?

View 2 Replies

C# - RadTreeview Expand/collapse Doesn't Work When Embedded Inside RadGrid

Feb 10, 2010

I have a Radtreeview that sits inside a RadGrid. For some reason the expand/collapse buttons of the Treeview are not working. I can expand the Treeview initially, however the NodeExpand event never fires.(a postback does occur to the server, and I have several buttons on the treeview node that work.) Once the node has been expanded, the collapse button doesn't work, and clicking on it does nothing.(no postback to server). I have the ExpandMode set to ServerSide. However, if I change the Expandmode to Clientside it works properly.

I really need the control to work with ExpandMode set to serverside, to reduce the loading for large Tree's.

Im not sure if this matters. But I am adding the Events to the RadTreeview when the event RadGrid_ItemDataBound is fired.I am noticing one strange behavior, that I cannot explain either, if I do not attach an event to NodeExpand It fails to open or close. Also the NodeDataBound event fires successfully and the data is loading fine into the tree.

RadTreeView tree = (RadTreeView)e.Item.FindControl("RadTreeView1");
tree.NodeDataBound += new RadTreeViewEventHandler(RadTreeView1_NodeDataBound);
tree.NodeExpand += new RadTreeViewEventHandler(RadTreeView1_NodeExpand);
tree.NodeCollapse += new RadTreeViewEventHandler(tree_NodeCollapse);

Here is the decleration of the Treeview in the ascx file

<DetailTables>
<telerik:GridTableView Name="Detail Table" ShowHeader="false">
<Columns>
<telerik:GridTemplateColumn UniqueName="FooTreeview">
<ItemTemplate>
<telerik:RadTreeView ID="RadTreeView1" runat="server" DataValueField="CommunicationID"
LoadingStatusPosition="BelowNodeText" style="white-space: normal;">
<NodeTemplate>
<uc1:FooControl ID="r1" runat="server" FooBindings='<%#DataBinder.Eval(Container,"DataItem") %>' />
</NodeTemplate>
</telerik:RadTreeView>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>

View 1 Replies

Ajax With WCF Work. But Few Miniute After, Doesn't Work

May 11, 2010

I am a new to WCF. I have written ajax to use a web service before, but on this project I am trying to use ajax to WCF.After I build the project and wcf using ajax, I receive the return successfully. But, 10 or more minutes later I don't get a return, the ajax calls the error function, and the fiddler returns nothing.

If I rebuild the project without any source modifying, I receive the return successfully again.

View 2 Replies

AJAX :: Property Evaluation Failed In ModalpopUp Inside User Control?

Mar 22, 2010

i have user control which consists of tree drop down and modal pop up and text box just to view my hirerichal data in tree - drop down list

the problem is when i try to get value from drop down list in debugging mode PROPERTY EVALUATION FAILED Just Appers Execution Stopped.

every thing in request also PROPERTY EVALUATION FAILED

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved