Click here to Skip to main content
16,010,334 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Help with Return value Pin
Member 40654726-Feb-08 4:50
Member 40654726-Feb-08 4:50 
QuestionWebPart and Authorization Pin
Littlefool6-Feb-08 2:25
Littlefool6-Feb-08 2:25 
Generalseekafile Pin
venky4566-Feb-08 2:13
venky4566-Feb-08 2:13 
Questionevent calendar help Pin
raj_code6-Feb-08 0:45
raj_code6-Feb-08 0:45 
AnswerRe: event calendar help Pin
Vasudevan Deepak Kumar6-Feb-08 1:29
Vasudevan Deepak Kumar6-Feb-08 1:29 
GeneralPopup window with no titlebar Pin
samerh6-Feb-08 0:33
samerh6-Feb-08 0:33 
AnswerRe: Popup window with no titlebar Pin
Vasudevan Deepak Kumar6-Feb-08 1:28
Vasudevan Deepak Kumar6-Feb-08 1:28 
GeneralCheck all checkboxes in gridview Java script Pin
samerh6-Feb-08 0:26
samerh6-Feb-08 0:26 
Hi all
i need to check all check boxes for a certain column upon checking a checkbox in the header of a gridview. Iam receving the following error
Error Message: C:\CID\Admin\UserAccounts\AccountsEdit.aspx(211): error BC30456: 'chkall' is not a member of 'ASP.admin_useraccounts_accountsedit_aspx'.,
here is the code iam using:
<script>

function chkall(ival)
		{
		var f= document.getElementById("DataGrid1");
		for(var i=0; i<f.getElementsByTagName("input").length ;i++ )
		{
			if(f.getElementsByTagName("input").item(i).type == "checkbox" )
			{
				f.getElementsByTagName("input").item(i).checked=ival;
				
			}	
		} 
</script>
</code>
then in the grid view i define
<code><asp:datagrid id="DataGrid1" runat="server">
	<Columns>
	   <asp:TemplateColumn HeaderText="Select All">
		 <HeaderTemplate>
            <asp:CheckBox ID="chkboxViewSelectAll" runat="server" OnCheckedChanged="chkall(this.checked)"></asp:CheckBox>
           </HeaderTemplate>
		<ItemTemplate>
		<asp:CheckBox id="CheckBox1" runat="server"></asp:CheckBox>
		</ItemTemplate>
	   </asp:TemplateColumn>
	</Columns>
</asp:datagrid>


modified 20-Apr-17 11:33am.

GeneralRe: Check all checkboxes in gridview Java script Pin
Prashant B. Lavate6-Feb-08 0:43
Prashant B. Lavate6-Feb-08 0:43 
Questionhow to work with Flv Plyar.... Pin
Prashant B. Lavate6-Feb-08 0:20
Prashant B. Lavate6-Feb-08 0:20 
AnswerRe: how to work with Flv Plyar.... Pin
Vasudevan Deepak Kumar6-Feb-08 1:30
Vasudevan Deepak Kumar6-Feb-08 1:30 
Generalupload file on server Pin
ashok kr yadav6-Feb-08 0:15
ashok kr yadav6-Feb-08 0:15 
GeneralRe: upload file on server Pin
N a v a n e e t h6-Feb-08 0:33
N a v a n e e t h6-Feb-08 0:33 
Generalpaging concept Pin
trilokharry5-Feb-08 23:57
trilokharry5-Feb-08 23:57 
GeneralRe: paging concept Pin
imsathy6-Feb-08 18:27
imsathy6-Feb-08 18:27 
GeneralFirefox Problem while calling method of object Pin
trinadh_t5-Feb-08 23:57
trinadh_t5-Feb-08 23:57 
GeneralDynamic Pages Pin
.NET- India 5-Feb-08 23:44
.NET- India 5-Feb-08 23:44 
GeneralRe: Dynamic Pages Pin
N a v a n e e t h6-Feb-08 0:31
N a v a n e e t h6-Feb-08 0:31 
QuestionRe: Dynamic Pages [modified] Pin
Brendan Vogt6-Feb-08 1:43
Brendan Vogt6-Feb-08 1:43 
GeneralRe: Dynamic Pages Pin
N a v a n e e t h6-Feb-08 2:04
N a v a n e e t h6-Feb-08 2:04 
GeneralRe: Dynamic Pages Pin
Sandeep Akhare6-Feb-08 1:18
Sandeep Akhare6-Feb-08 1:18 
GeneralRe: Dynamic Pages Pin
Littlefool6-Feb-08 3:17
Littlefool6-Feb-08 3:17 
Generalcommon methods problems Pin
eyeseetee5-Feb-08 23:34
eyeseetee5-Feb-08 23:34 
GeneralRe: common methods problems Pin
manish.singhal6-Feb-08 0:50
manish.singhal6-Feb-08 0:50 
GeneralRe: common methods problems Pin
eyeseetee6-Feb-08 1:05
eyeseetee6-Feb-08 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.