Thanku for your reply,but am asking for checkboxlist.Wh at you've replied is for checkedlistbox, which is rather used in window application.Is there any other method coz I've tried the method mentioned by you,which is unfortunately unsuccessful.
TC
User Profile
Collapse
-
Checkboxlist in C#.Net
Hi,
Am using a checkboxlist in C#.net.I want to set the default state of checkboxlist as true,i.e,when page is loaded the all the values remained checked.
Is it possible?If anyone knows reply me soon.
Thanks. -
Excel worksheet counting
Hi
How can I count the worksheets of Excel file thru C#.Net code??
The worksheet can be increased or decreased by the user.Do reply.
Thanks -
How can I use Tally with .Net???
Hello all,
How can I use Tally in .Net?I want to map Tally to web based application,mea ns is it possible to click a link and we can import or export tally to web.I want to put authentication also for such.Please do help me soon.
Sheena -
Uml
Hi,
I dont know where to ask about UML questions,so Ive chosen this forum to ask it.I am new to UML,can anyone tell me how to write the class code in UML,I mean where should I write the code?Ive done some basic practice with it,but I want some guideline from you experts.I dont know how to use "Class Diagram".Do help me soon.Thanx
Sheena -
You can set the property of textbox like this.
Code:void Page_Load() { TextBox.AutoPostBack=true; }Leave a comment:
-
In which language you r working in?This code is for .Net.By double clicking the Textbox you will get a default event where u can write this code.The functions are the inbuilt functions.You can try these.Bye
...Code:public void TextBox_TextChanged(object sender, EventArgs e) { DropDownList.Visible=true; if(TextBox.Text=="ls") { DropDownList.Items.Clear(); DropDownList.Items.add("she");Leave a comment:
-
Here JS is working fine but Validator Message box is not.Do help.Thnx
...Code:<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <script language="javascript"> function check() { if(form1.DDMONTH.value=="") {Leave a comment:
-
when I closed the <head> before opening <script> the scripts working fine,I dont know why it isnt working in ur case.Like this.Try once more.
Code:<head></head> <script> alert('asd'); </script>Leave a comment:
-
alert box
I am working in C#.Net and using JavaScript to validate my form.When I use the inbuilt Validators of ASP.Net like "Required Field Validator" or any other,it wont work with JavaScript.Can anyone tell me why?Or how can I make it work with JS?Do help.Thanks -
the update command is thr see carefully..all u have to do is to set ur primary key or whatever condition in the where field(like ive done with "sno")
...Code:<asp:GridView ID="GridView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3"
Leave a comment:
-
First of all make the textbox autopostback property true.On Text_change event make dropdowllist visible and also check its value like...this is not javascript code.
...Code:public void TextBox_TextChanged(object sender, EventArgs e) { DropDownList.Visible=true; if(TextBox.Text=="ls") { DropDownList.Items.add("she"); DropDownList.Items.add("he");Leave a comment:
-
Close the head tag before starting Javascript ie,
<head runat="server"> </head>
<script language=JavaSc ript>
//body
</script>Leave a comment:
-
Thanku so much for your help here am pasting my code,do help me.Thanx
...Code:void Page_Load() { Button1.Attributes.Add("onClick", "return checkbox_checker()"); } protected void Button1_Click1(object sender, EventArgs e) { //further action } </script> <html> <head> <SCRIPTLeave a comment:
-
I am pasting my page here with your code,kindly help me by correcting it whereever needed.Am working on C#.net.Actually am very new to JavaScript.Than ks
<script runat="server">
void Page_Load()
{
//Button1.Attribu tes.Add("onClic k", "return CheckKeyCode");
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml"...Leave a comment:
-
You have to specify the key field thru which update could be made,like Ive specified here "sno"(here it is a parameter,it could be a control also)
<asp:GridView ID="GridView1" runat="server" AllowPaging="Tr ue" DataSourceID="S qlDataSource1" BackColor="Whit e" BorderColor="#E 7E7FF" BorderStyle="No ne" BorderWidth="1p x" CellPadding="3"...Leave a comment:
-
Honestly speaking you didnt explained your problem specifically,I didnt understand what ur problem is,but as far as I understood am sending this code.Hope it will help u.
<html>
<title>CodeAve. com(Checkbox Input Validation)</title>
<body bgcolor="#FFFFF F">
<script Language="JavaS cript">
<!--
function checkbox_checke r()
{
...Leave a comment:
-
Numeric Validation
I want some help for checking numeric field and string field of a textbox thru Javascript.Ive tried these coding but its not working properly.If you have some other coding plz do fwd it.
<html>
<head>
<SCRIPT LANGUAGE="JavaS cript">
function checkNumeric(ob jName)
{
var numberfield = objName;
if (chkNumeric(obj Name) == false)
{
numberfield.sel ect();... -
Thank you for your help but this is not working for Checkboxlist.If you can help plz tell me what shld I use for checkboxlist.Leave a comment:
-
Checkboxlist Validation
I am using checkboxlist in asp.net.I cant get an alert with JavaScripting when the checkboxlist is not selected.For checkbox the command is checkbox.checke d,can anyone tell me what is the command for checkboxlist?
No activity results to display
Show More
Leave a comment: