JQuery :: Disable Specific Dropdownlists In Repeater / Grid?

Jan 26, 2011

I have dropdownlists inside a repeater. I would like to do something like this but can't figure out the syntax:

If (DropDownList1.Text = "Hello")
{ DropDownList1.Enabled = false; }

I'm not sure if the JQuery implementation will be as simple as this, or the approach will be a little different?

View 5 Replies


Similar Messages:

Jquery - Disable A Button For A Specific Time?

Sep 6, 2010

i want to disable a button for a specific time. how can i do that?

View 3 Replies

Data Controls :: Disable User Click In Header And Some Specific Rows Of GridView Using JQuery

Jan 24, 2016

How to Disable user click on Gridview header and first two columns? I am using a modalpopuextender for which girdview is used as targetcontrolid. I need to pop up panel2 when user clicks on anywhere on the gridview except the gridview header and first two columns.

<asp:UpdatePanel ID="Panel2" runat="server">
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="GridView1" PopupControlID="Panel2" Drag="True" Enabled="True"> </cc1:ModalPopupExtender>
<asp:GridView ID="GridView1" runat="server">

View 1 Replies

Javascript - Enable/disable Asp.net Validator Controls Within A Specific "ValidationGroup" With JQuery?

Jan 28, 2010

I know how to enable/disable individual validator controls on the client side using

ValidatorEnable(validator, false);

But how do you enable/disable all the validators within a ValidationGroup?

View 2 Replies

Web Forms :: Changing Index On Dropdownlists Childs Don´t Cause Other Dropdownlists To Reload?

Jan 30, 2011

i have the following code:

[Code]....

3 nested dropdownlists SELECTing from DB. So i select the brand, then i select the model and then i select the product and click on SEARCH button.

But when i select thebrand, and then the model, and if i want to change the brand, it does not reset the second and third dropdownlists.

View 3 Replies

How To Disable Viewstate For A Specific Control

Jan 21, 2011

<asp:TextBox ID="TextBox1" runat="server" EnableViewState="false" />
<asp:Button ID="Button1" runat="server" Text="Button" />

I have set the EnableViewState property to false, but when I click on the button the value in the textbox persists after the postback. Why does the value persist?

View 3 Replies

DataGrid - Is Possible To Disable Sorting On Specific Columns

Sep 30, 2010

is it possible to disable sorting on specific columns? 5 out of 7 columns have to be sortable, two not sortable. The columns are created dynamically in code behind, so I think doing this with mark up is out of the question. When I say disabled, I'm hoping that the underline wont show on the column header when you mouse over it.

View 1 Replies

Disable Custom Errors Only For A Specific IP Address?

Oct 12, 2010

how to disable asp.net custom errors only for a specific ip address? this will ease debugging exceptions on my server from my office..

View 2 Replies

C# - Disable HTML Tag Validation On A Specific TextBox?

Sep 7, 2010

I have a form where one of the fields would allow entry of HTML tags.

<asp:TextBox ID="someID" runat="server" TextMode="MultiLine" />

In this field I have a RequiredFieldValidator validation only. Unfortunately, after any PostBack if the content of any of the fields includes HTML tags or any other potentially dangerous code - the entire ViewState is cleaned.Setting ValidateRequest to false does not help. I'm using IIS 7.5 and .NET 4.0.

View 2 Replies

AJAX :: CalendarExtender - Disable Specific Dates

Dec 15, 2013

This question is regarding one of your article on disabling future dates in [URL] ....

Your code in the above link disables(prevents for selection) dates for selection greater than today.

But I want to prevent users from selecting dates after a particular date say for example-after 13th October 2013, all the dates should be disabled.

I replaced this line

 var c = (new Date).setHours(0, 0, 0, 0);
with
var c = (new Date("October 13, 2013 11:00:00")).setHours(0,0,0,0);

in the javascript file(Extension.min.js).

But still it was disabling dates other than today.

View 1 Replies

Web Forms :: How To Disable Validations On Specific Button

May 16, 2013

I am using two text boxes for email id and password,and a submit button inoreder to login.In the same page itself I have provided a link button for forgot password.For the two text boxes I have provided required field validators.So when I click on the Link "Forgot Password" I cannot move to other page since the requiredfield validators prevent thatr.

View 1 Replies

How To Disable A Control Within A Repeater

Jan 8, 2011

I have a repeater with a checkbox and a textbox, that I am binding to a datasource. Depending on conditions from the code behind, I want to be able to disable the checkbox and textbox dynamically.

Currently this is what I have within the

[Code]...

The #DataBinder.Eval(Container.DataItem, "DISABLE") is being set to the string value of "true" on the code behind yet when the code is ran, I recieve a InvalidCastException error.

View 1 Replies

Get Specific Button Pressed In A Repeater When Using ModalPopupExtender?

May 13, 2010

I have buttons contained within a repeater. A ModalPopupExtender is used to confirm event for each button. I create standard panels outside of the repeater and I attach each button in the repeater to these panels from inside the repeater. The problem is once the button is pressed in the popup I can't figure out how to determine which row of the repeater to edit as I can't figure out how to identify which button was pressed.Panel:

<asp:Panel ID="pnlRemoveAlert" runat="server" >
<h1 align="center">Remove Phone</h1>
<asp:Button ID="butRemove" runat="server" OnCommand="Handle_Click" CommandName="Remove" Text="Continue"/>

[code]...

View 2 Replies

Controls :: How To Disable (hide) Specific Export Button From RDLC ReportViewer

May 7, 2015

disable excel export in Reportviewer(rdlc) dropdown menu is asp.net page using vb code

View 1 Replies

Repeater Control - Cancel Bind For Specific Item

Feb 8, 2010

Within a repeater control, is there a way of de-binding certain items before the page is rendered?

Currently we have a collection of items being bound to a repeater and if the item is not part of the current language, we hide the item.

I'm wanting to be able to do a count on the repeater and get a valid number back. A count that doesn't also include the hidden items.

Is it possible to de-bind specific items perhaps in the ItemDataBound event?

Update

For each item in the collection we're binding, we check the database during the ItemDataBound for further information about the item, such as language etc. This is currently stopping us from filtering the bound data before binding it.

View 3 Replies

How To Disable The Row Of The Grid View

Dec 29, 2010

how to disable the row of the grid view when grid view is in page indexing such that suppose in 1st page if 2nd row is disabled then in second page 2nd row should not be disabled

View 1 Replies

How To Add Data Into A Specific Column At Runtime In Grid

Dec 9, 2010

I have a rad grid, i have bounded the columns in the grid using GripBoundColumns which shows me dropdown cloumns when i edit the record, Insert/update/delete are working fine for me.

My question is it possible to insert new data into the column(Not the whole record just only to one column) when i edit the record.

For example...

suppose i have 5 columns (Client Name, Account No, Account name, account status, Custodian Dealer) CustodianDealer is my drop down coloumn and data for it comes from different table when i edit or insert a new record in the grid, i can select the existing Custodiandealers in the table.

now if i want to insert a new record to the custodianDealer table not to the grid, how can i acheive it

View 3 Replies

C# - How To Disable Filtering In Telerik Grid

Sep 3, 2010

Currently i am using Telerik grid which filters are applied to each column. I am binding the SQL result set to grid. If the result set is empty from the database while binding, I should disable the filter option in the grid.

How can i achive the same through ASPX or Code behind using C#. Does Telerik Grid have any property to disable the filtering option when thre are no records.

View 2 Replies

C# - Disable Filtering In Telerik Grid?

Nov 18, 2010

Currently i am using Telerik grid which filters are applied to each column. I am binding the SQL result set to grid. If the result set is empty from the database while binding, I should disable the filter option in the grid.

How can i achive the same through ASPX or Code behind using C#. Does Telerik Grid have any property to disable the filtering option when thre are no records.

View 1 Replies

Forms Data Controls :: Enable Or Disable Textbox In Specific Row In Gridview Depending On Condition

Jul 2, 2010

I want to enable or disable text box in specific row depending on value of field in data source

View 5 Replies

VS 2008 Enable And Disable Checkboxes On Checkbox In Repeater?

Dec 2, 2010

see the .aspx page VS 2008 enable and disable checkboxes on checkbox in repeater?

Code:

[code]....

View 6 Replies

Jquery - Secondary Repeater W/ ObjectDataSource Databind Event Fired From Another Repeater's Click Event?

Mar 29, 2011

I'm having trouble managing how to call upon databind from clicking on a row over an already populated repeater that will populate data regarding the row clicked TO another repeater on the same page.

I've succeeded doing that with postback, calling a jquery click event of that row, taking the data of the specific row and passing it onto a "Querystring" and after postpack, it will be pushed into a Session which the ObjectDataSource of the secondary repeater will recognize and populate the data tables accordingly.

The problem is, I must do it without a postback or in other words purely on client side.

View 1 Replies

How To Disable Auto Generate Columns In Grid

Jan 19, 2010

how to make visible false some of my auto generated columns in grid dynamically.

View 5 Replies

C# - Enable Disable Button On The Basis Of Grid Row?

Jan 5, 2011

I have a grid control where i am binding list of stickers. On the above of grid , that is out side grid i have two buttons Create Sticker and Void Sticker. Sticker basically have three properties Active , Void and Expired displayed as text in column. There is condition of adding only one sticker at a time. Also if there is an active sticker then user cannot add another sticker until and unless its is expired or void.

So what i want is that whenever my grid is loaded if there is an column with text active the the create / add sticker will get disabled and void will get enabled. I am using the folloing code

/// <summary>
/// Handles the RowDataBound event of the gvSticker control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.Web.UI.WebControls.GridViewRowEventArgs"/> instance containing the event data.</param>
/// <remarks></remarks>
protected void gvSticker_RowDataBound(object sender, System.Web.UI.WebControls.GridViewRowEventArgs e)
{
if (Session["FisherId"] != null)
{
if (e.Row.RowType == DataControlRowType.DataRow)

[Code]....

View 1 Replies

JQuery :: Disable Hyperlink In Jquery Datatable?

Nov 4, 2010

I have the following piece of code.

[code]...

View 1 Replies







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