i have a drop down in a grid and when i click on grid the modelpopup should be activated how can i do this?in the
TargetControlID
="griddropdowncolumn" it throws me an error .if give the grid name over there its trigeering even if touch the grid.i want the popup to be trigerred only when selected index changed.what should i give in the target control id
Is there a way to open modelpopup window based on value seleted in dropdown list? I want to open a window when Urgent is selected in the dropdown list=!!!!
I ultimately need to show countries in one drop down then states/provinces drop down of the previously selected drop down. I'm sure everyone has seen this many times. My page shows the countries but does not show values in the province/states drop down. It's as if the webservice is never run. I've tried removing and adding the ajaxtoolkit reference. The tableadaters run simple working sql code. I'm really at a lose here.
default.aspx: ... <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> ... <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <%--Dropdown to display countries--%> Country:<asp:DropDownList ID="ddlCountries" runat="server" DataSourceID="ods_Countries" DataTextField="country" DataValueField="abbreviation"> </asp:DropDownList> <%--data source for the country drop down list--%> <asp:ObjectDataSource ID="ods_Countries" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetAllCountries" TypeName="countryDataSetTableAdapters.CountriesTableAdapter"> </asp:ObjectDataSource>....................................
I have four cascading dropdown control and now I want to load a gird data based on the value selected on that dropdown. This should be done by using ajax concepts..
I have three button on my web page,after clicking each button a popup is opened. Now i want open this popups just below the button and also stop the scrolling of popup with parent page.
i give one example: i just want to create a functionality just like [Edit Tags] below in this forums that is when i clicked on [Edit Tags]one popup is appear at desired location how could i opened my modelpopup just like [Edit Tags] click.
I have a cascading dropdown. After the dropdown is populated(it is in another file) i would like to return back to the original form where the control is placed. is there anyway of doing it
I am currently trying to use 3 values from 3 different columns to do a comparison(If, Else). But I am having a difficulty trying to call out the values, And I am going to use EOF function for looping the grid view until it reaches the end, is this way feasible?
Here change_scheduleDate function is executing every time for every row but i need to execute this function only when value change in txtdate textbox or same case i need if i create textboxchange event at serverside here i am updating txtdate value in database when text box value changed
i have a grid form with 3 fields field1 & field2 & field3.
in the insert statement the field 3 gets a javascript function result that uses filed1 & 2 values.
Now what i want in the grid view update statement is : to call the @field 1 & @field2 from the update statement to a similar javascript function..(do soem calculation ) and then re-assign the java function result to the @field3 variable in the update statement..
(//// Or simply what i want is to do the same calcultions onthe fields while perfoming an update operation.. //).
how can i perfom the calculations in a grid view update statament ..
i created a user control and place a button on it.i drag dropped the user control on a aspx page and wrote the grid load and button clicks in the
user control.now i got a requirement to use the same user control grid and button to again use on the same page.however the data populated will be different and the button click functionality will be different.how can i reload the different data on the second grid as i had already wrote the code in the first one
I'm currently binding a simple grid and show. And a separate dropdown and show. Now I want to place dropdown in grid and bind also I will able to change value of dropdown and save.Problem in grid binding drop down not able to find datasource.my code as -
<asp:TemplateField HeaderText="REPORTING TO" Visible ="true" SortExpression="reporting_to"> <ItemTemplate> <asp:Label ID="Lnk_ReportingTo" unat="server" text="<%# bind('reporting_to' ) %>" ></asp:Label> </ItemTemplate> </asp:TemplateField> //Binding grid public void BindData() { //Calling To Dal From BLL LAYER DataSet ds = musergroupBLL.GetUserGroup(0, UserFk, 0); Grd_UserRole.DataSource = ds; Grd_UserRole.DataBind(); } For dropdown fill in page on .aspx <asp:DropDownList ID="DDManager" runat="server" onselectedindexchanged="DDManager_SelectedIndexChanged"></asp:DropDownList> On .cs protected void FillDD() { DataSet ds = MUsrBll.GetUser(MUsrolEnt); DDManager.DataSource = ds; DDManager.DataTextField = "usr_id"; DDManager.DataValueField = "usr_PK"; DDManager.DataBind(); }
Now changing above code from below aspx code for dropdown place in grid. But not getting how to call datasource and selected value in grid. Data source is same as FillDD()function above for dropdown.
1 A Show 2 B Show ID , Name Template Field Show LinkButton
Click on Show button model popup would open, that popup also contain one gridview like
Grid B ID Value cal 1 10 Minus 2 20 Minus id , value are Template Field minus is linkbutton
i write down the code on GridB Row Command without using model popup i get all the event but inside the modelpoup i can't get the row command or any other event.
I have successfully added controls to pop up, like many check boxes ... now on check box checked event I want to show another check boxes on same popup.
In a gridview i am having two dropdownlist.in page load first dropdown will be populated and when an item is selected with in that based on dat selection i need to bind second drop down list.My problem is that selectedindexchaged event is not firing for first dropdown.The codings i used is below
How would I go about displaying a databound dropdown list in a property grid, i.e. a dynamic list that can be used to set the value of an individual property?
wondering if someone can possibly help me out with a gridview. I have data coming into a grid and I know how to filter the data using one dropdown, I'm trying to get a little more advanced now. I'd like to filter using three dropdowns.
This is what I have so far: I don't know how to hook the downlists to the query?
I'm using a custom AJAX based validation control to check user name availability from database. It's working alright in my development machine but in production server we are using Windows Authentication to authenticate by domain.The control is inherited from base validator and checks for user name availability from database perfectly but on form submission at Page.IsValid check it gives the following error.
remote server returned an error 401 unauthorized
Both the form and webmethod are in the same page/file. I even tried creating webmethod in a separate standalone webservice but error still there.
I have grid view which databind from object datasource. my problem is i want to disply dynamic dropdown list on edit template based on the id which has in grid view. but still i can't figure out a way to do this.
I have created a gridview and added a headertemplate field inside templatefield. Inside header template field I have added a button and a condirmbutton extender. confirmbutton extender uses modelpopup with ok cancel. This works fine but with one problem. I want this popup to open on button click only if user has checked atleast one checkbox from gridview. So far it shows this modelpopup everytime even user hasn't checked anything.