Its ok with textbox but still problem exists with other controls...
dotnetmember
Posts
-
Controls in disabled state -
displaying dataIt may not be problem with SP. It can be problem with connection string , passing wrong number or type of parameters to sp.
-
Controls in disabled stateIn my application,i have many web pages. When certain conditions are met, i want to disable all the controls in the web page. The problem is that when contorls are disabled, it is grayed out and users find difficulty to read the data in controls (textbox, radiobuttonlist, checkboxlist,drop down). Is there any solution to allow controls look as they are enabled even in disabled state. Any help appreciated..............
-
requiredfieldvalidatorMy requirement is that i need only one textbox out of four to be validated, it can be any textbox. If i use required field validator for all textbox, it validates all four textboxes which is not my need. It is sufficient to have value in any of these four
-
requiredfieldvalidatorHi, I have four textboxes in my web page. I want to apply required field validator such that atleast one of the text box value is required,it is mandatory to have value in any one of the four . how to validate that.
-
CSV filesHi experts, In my application, I do export data from datatable to csv file and import data from csv file. My problem is since csv file uses comma(,) as delimiter it splits text data with comma as two columns. Ur suggestions r highly appreciated.
-
master pagei am working on an application which has seperate web projects under same solution.Instead of developing a master page for each and every project , Is there a way we can have a master page in solution level and use that master page in different projects under the same solution?
-
AJAX Helphi friend, i dont think it is possible to invoke content page within content template of the master page without a post back. Content page is seperate page and invokin it surely makes a post back to occur. I would suggest u to design a page with update panel and wizard control within it. u can place the controls of each page in each tab index and on click of image buttons, just change the active index of the wizard control like wzdname.ActiveStepIndex = 1; since all the design is within the same page, u can achieve ur need without postback. hope it works.
-
error --canot find table(0)chk whether ur dataset has any tables. may be ur query is not returning any resultset.
-
website & web applnhello folks, what is diffrence bet web application and website projects
-
ASP 3.5 Formview + Findcontrol in VB - Please help as I'm going crazyur coding is correct but u need to make dummy binding to form view to make it build control hierarchy. try this in page load, If Not Page.IsPostBack Then Dim arr As New ArrayList() arr.Add(1) Details.DataSource = arr Details.DataBind() End If
-
Log Out issueif u r using master pages, code this in page load of master page or in page load of everypage Response.Expires = 60; DateTime now = DateTime.Now.AddMilliseconds(-1); Response.ExpiresAbsolute = now; Response.AddHeader("pragma", "no-cache"); int timeout = (Session.Timeout + 1) * 60; Response.AddHeader("Refresh", timeout.ToString()); Response.AddHeader("cache-control", "private"); Response.CacheControl = "no-cache"; if (Session.IsNewSession) { Response.Redirect("~/Default.aspx"); } and in logout Session.Abandon();
-
Specified cast is not validhi try this, Dim str As String= CType(dgi.Cells(0).Controls(0), Label).Text and be sure that control(0) of cell(0) is text field
-
intellisense in aspyes, intellisense does not work for classic asp in VS 2008. hope VS 2008 SP1 wil do the work,tryin 4 same
-
intellisense in aspyes, but that does not work with classic asp. hope some settings does the work, any idea :zzz:
-
intellisense in asphi guys, any idea to get intellisense in classic asp
-
convert.ToInt32This is very silly mistake which u can trace it out.
yueru wrote:
int s = Convert.ToInt32(Duration.Substring(1, 2)); int s = Convert.ToInt32(Duration.Substring(1, 2)); int y = Convert.ToInt32(Duration.Substring(3, 2)); int l = Convert.ToInt32(Duration.Substring(6, 2));
In above four lines, check wat is the value of (Duration.Substring()); it may be null or may not be in format to convert to integer.
-
Selecting Multiple Nodes in ASP.Net treeviewallow checkboxes for the treeview by setting ShowCheckBoxes property to 'All' the and u can select multiple nodes and on click of add button ,take those checked nodes to right.
-
Calling another page in side a wizard control in asp.netI dont think it is possible to invoke another page within wizard control. But if u want to navigate from one page to another and back to same page, i dont see any problem. Wizard control has nothing to do with. And if u want values from page2 to page1, they are possible with sessions, query strings,..
modified on Wednesday, May 6, 2009 1:41 AM
-
WinForms Comboboxestry this way, if (checkBox1.Checked == true) cbPostalCountry.SelectedValue= cbPhysicalCountry.SelectedValue;