Forms Data Controls :: How To Enable / Disable TreeView Navigation Control

Feb 9, 2011

In asp.net(C#) i'm using masterpage and childpage.

in masterpage i used TreeView Navigation control to view the Childpage.

.What my doubt is......when i select the navgation control

my TreeView Control should be disable and when i click cancel button in Child page it will enable..

View 4 Replies


Similar Messages:

Web Forms :: How To Enable Or Disable The Treeview Node Depending On Some Conditions

Jan 3, 2010

my asp.net application is workflow enabled.

by default all nodes of the tree should be disabled

once the workflow is completed.i need to enable the link of treeview??

my basic question is how to enable or disable the nodes the treeview depending on condition

suppose

if var a=0

then

LinksTreeView.SelectedNode.SelectAction = TreeNodeSelectAction.None;

View 1 Replies

Data Controls :: Conditionally Enable Disable Validators Inside DataList Control

Nov 25, 2013

AM having a datalist with fields repeating based on some conditions say some textbox to enter Name ,DOB,Occupation,cell no,etc..and we have a button "Accompanying Person" .When this clicked i have to show same controls and enter details of accompanying persons like name,cell no etc...

SO same controls i have to show multiple times...but based on member /accompanying person i am hiding id field..but required field validator showing when the id is hidden..since this id is inside datalist and id textbox will be different how to hide this required field validator

View 1 Replies

Forms Data Controls :: Treeview Not Retaining Its State After Navigation?

Dec 10, 2010

i have asp.net treeview control on my masterpage which is associated with many pages now my requirement is that when ever iam clicking child nodes in the treeview its getting navigate to the appropriate page but treeview not retaining its position.its getting collapse to its default position.

View 2 Replies

Web Forms :: Disable ToolTip On Asp - Menu Navigation Control?

May 26, 2010

How to get rid-off ToolTip showing when people hover over menu items in asp:menu navigation control? The ToolTip itself covers pop-out sub-menu and very irritating. ToolTip actually displays "description" from Web.sitemap. I thought to delete "description", but that would be nice to have for asp:SiteMapPath.

View 2 Replies

Forms Data Controls :: How To Enable / Disable Buttons In My Gridview

Jul 15, 2010

I'm trying to enable/disable buttons in my gridview according to a value in gridview's field.
But everytime when I try to run my page, it shows me below underlined error and point to my gvTimeSheet.DataBind() in page_load.

"Unable to cast object of type 'System.EventArgs' to type 'System.Web.UI.WebControls.GridViewRowEventArgs'."
I also tried to enable / disable button in HTML but it just against from what I need it to be.

Example, sheet_status = true, I do not need to enable the button.

[Code]....

View 5 Replies

Forms Data Controls :: Enable And Disable Columns In Repeater?

Sep 30, 2010

how can i enable and disable columns in repeater in the code behind

View 1 Replies

Forms Data Controls :: Enable / Disable The Checkbox In Gridview?

Jul 9, 2010

Based on some condition, I need to enable and disable the checkbox in gridview and that would be on page_load event.

View 1 Replies

Forms Data Controls :: Enable And Disable Gridview Selecting?

Dec 20, 2010

I have a gridview that is built based on my objectdatasource.. so at the moment, i have 1 gridview linked to 3 different objectdatasource resultsets.. my question is.. only 1 of the 3 do i want to allow or should i say enable the "GridView1_SelectedIndexChanged" ability. Is that possible, that when i bind the datasource to the gridview for that one, i can enable that?

View 4 Replies

Web Forms :: Enable / Disable Control With RangeValidator?

Apr 6, 2010

I have a text box, a range validator, and a button. The validator is hooked up and prevents the button from doing a post back if the text is out of the range, however I'd also like to enable and disable the button. Is this possible to do within client-side code?

View 12 Replies

Forms Data Controls :: Enable Or Disable The ImageField And Boundfield In Gridview?

Jul 12, 2010

How to enable or disable the ImageField and Boundfield of gridview in the code behind inside page load?

aspx codes:

<asp:ImageField
DataImageUrlField="GreetingType"
DataAlternateTextField="GreetingType"
DataImageUrlFormatString="images/hello.gif"
HeaderText="Greeting"></asp:ImageField>

<asp:BoundField
DataField="Location"
HeaderText="Location"/>

View 2 Replies

Web Forms :: Enable / Disable Fileupload Control With Javascript?

Jun 13, 2010

I have file upload and Radio button list controls in the page

Requirement:

When the page load, the file upload control has to be enable = false when I click on the radio button list's Yes option then it has to be enable = true and when No option is clicked then enable = false

View 3 Replies

Forms Data Controls :: How To Disable / Enable Line Editing If Credentials Are Correct

Apr 16, 2010

Have a gridview that is populated via a DB, which is populated by another tool. That tool records all the data, including the user that submitted it.

The site also enables editing, but I want only the user that submitted the data to have the ability to edit HIS data only, even though the grid view is displaying other people's datas.

So currently the gridview has "ShowEditButton="True"

So on the far left, there is the Edit option for all lines, for all users, for any user viewing the site.

I want to do a verification where,

[Code]....

View 1 Replies

Forms Data Controls :: How To Enable Or Disable Textbx On Click Event Of Linkbutton For Particular Row

Jun 10, 2010

i have one gridview in which their is on linkbutton and one textbox

i want to enable or disable textbx on click event of linkbutton for particular row

.aspx code

[Code]....

.cs code

[Code]....

i am able to find textbox in gridview in RowDataBound event but how to perform action on click event on textbox for individual row

View 12 Replies

Forms Data Controls :: Enable And Disable Textbox While Selecting Checkbox In Samegridview?

Oct 22, 2010

when i click on the checkbox in the gridview column1 the textbox column4 should be enabled author wise textbox should be disabled...........

View 1 Replies

Forms Data Controls :: Enable / Disable Controls In Template In Gridview When User Clicks Edit

Mar 4, 2011

I am looking to enable/disable controls (TextBox, DropDownList, etc.) in a GridViews template column based on the users specific access level when the user clicks the edit button. I have tried the following two methods:

[Code]....

View 4 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

Web Forms :: Enable Disable CheckBox In ListView Control Based On Database Value?

May 7, 2015

I want to make checkboxes which are already Checked to non editable or readonly to true.

View 1 Replies

Data Controls :: Enable Disable Button When At Least One CheckBox Is Checked In GridView

May 7, 2015

I want a solution for checkbox Check changed.in my gridview when i check on any row it hits check changed event and i have made a button visible if atleast one checkbox is checked.(But when i uncheck i want the button to get hidden if no row is selected).

View 1 Replies

C# - How To Pass Value In A Constructor To Enable Or Disable A Button In Control

Feb 23, 2011

I am having a constructor on my user control From a main page I just reinitialize the user control.

I tried

[code]....

BtnAdd is the (aspx button runat server) control I want to disable.

While compiling it does not shows error.But while runtime It throws error saying btnAddis null.

View 2 Replies

AJAX :: Enable Disable Particular MenuItem In Menu Control

Aug 8, 2013

How can I disable particular <menu item> tag in asp.net menu control, through code at runtime, according to session value??

View 1 Replies

Data Controls :: Enable Disable TextBox In GridView Based On RadioButton Selection

Apr 26, 2014

i have radio button list and one textbox in gridview if the value is yes text has to enable otherwise i need disable the text box in grid view how do this?

View 1 Replies

Data Controls :: Enable Disable DropDownList Inside GridView Based On CheckBox

Feb 19, 2014

How to enable & disable data value from selected table ?

For Example,  select ID from employeeTlb(for Dropdownlist function) then in asp:checkbox able to tick enable & disable that control  the  data in dropdownlist show/ hide ?

View 1 Replies

Data Controls :: Enable Disable TextBox Controls In GridView Row When CheckBox Checked Unchecked

May 21, 2013

i have a gridview with templatefield  in templatefield there is a checkbox and in there are textboxes. 

i want when i check the checkbox then only that row can active and the textboxes are enabled true when deselect the checkbox then that row should enable false.

View 1 Replies

Forms Data Controls :: Control Which Nodes Automatically Expand With A TreeNode Navigation Control?

Feb 10, 2011

I have a sitemap with about 50 nodes. I want to expand the nodes for specific links directly related to the node group to which the current page belongs. Currently, when I navigate to a page, all nodes are expanded by default. Is there a properly I can use to control this behavior?

View 1 Replies







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