I am using one DataGrid with templatecolumn of Asp:Label Control. In Design Page i used Tool tip for this control, But in the ItemDatabound event, it will checks the number of characters of the text of this label. If the character is less than 40, i have to disable the tooltip for that control only.. But i couldn't finalize this task.
I am using an Ajax Calendar Extender tool in my application.I do wanna disable the past days calendar cells so that the user wont be able to click or select those cells .
the solution does not build and the error message says
Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. P:WebSite2Default.aspx
I am using AjaxControl Tool kit and disabled all controls in it except the option that helps to create hyperlinks.Is there a way to prevent paste option to text editor, I mean shouldn't allow users to copy text from some where and pasting it using ctrl+V. [I disable the 'paste' option that comes with tool kit.
login control portion of Murach's web dev w/ c# book. According to the books instructions, you create a Login.aspx page, add the login control to the page, and create the users and roles for the directories within the asp.net web site configuration tool. I still do not get prompted for user name and passord to access the pages I want to be secured. Why is this? Isn't the asp.net configuration tool supposed to edit the web.config file? I'm trying to follow the book to the letter and ensure that I am following correctly before posting for answers online. According to the book you do not have to edit anything or write code withing login.aspx page.
I downloaded ajax control tool kit and added it to the tool bar. But when I double click on the controls the controls are not getting added to the page. Does anyone know how to solve this issue?
I have a simple javascipt which enables/disables some checkboxes when another checkbox ticked/unticked. This works fine, however, in some instances when by page is loaded my code behind disables the same check boxes. When this happenes my original check box nolonger seems to have any influence in enableing or disabling - there is no error and all the elements seem to be found by the javascript - it just doesn't enable/disable the checkboxes.
I am looking for a charting tool to generate charts in my ASP.Net page which will allow me to customize the charts to a great extent like changing the background of chart, specfying custom x and y axis and much more.Moreover, another major requirement is that the chart should be interactive enough. I would like to select data points on my chart, select a range of data points on charts by making a selction with mouse clicks and use these selections for further processing.
i have contineous data stream and saving in database. database size is growing. as per out data retention policy we have to archieve data and only keep last 6 month data on server.
if archieve data is required in future in current/live database so how do i bring it back.
I have 25 websites in which each website have 500 pages. I want to know in which page the specific code was implemented let say if i want to know in which page <span>test<span> is implemented under each website. Is there any way to know through any tool or application.
The problem is that, if a user haven't selected anything, the whole tabcontainer must be disabled. If I disable the tabcontainer it in de codebind, the tabcontainer grayed out but the user can click the tabs.
I can disable one tab in javascript but how can I disable the whole tabcontainer?
I am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
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.
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:
I am using a view based of a formView.. say LogonViewForm (having userName and password) what i want to do is , suppose i enter my username and password and my account is not verified after logon. Its gives me a message as your account is not verified and redirects me to another view, what i want is it must be already having my username in its username textbox and must be disbaled. rite now i can pass the username value to verify view.. but can`t get how to disable the textbox.
I have been looking on the internet but don't seem to be able to find the answer. I am wondering is there a way to disable a validator on both the client and server side depending on the value of another control.
The situation is that I have a radiobutton that hides a textbox depending on the radionbuttonlist selected value . So I want to disable a validator on both server and clientside if the value selected is "N".
I am trying to disable the controls within the JQGrid on some other event. how can i do this. Below is my JQGrid Basically i want to disable the custom buttons btnDeleteExistingRoles, btnAddExistingRoles and the checkboxes that are created in the "Select" column( i have written a custom formatter for this).
jQuery(document).ready(function() { $('#btnHdnExistingRoles').click(function() { var lastsel2; jQuery("#grdExistingRoles").GridUnload("#grdExistingRoles"); jQuery("#grdExistingRoles").jqGrid({ url: '/SAPWebAccess/Role.mvc/GetExistingRoleForUser/',