Click here to Skip to main content
15,913,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Tab is not showing properly within update panel Pin
Richard MacCutchan10-Nov-11 1:11
mveRichard MacCutchan10-Nov-11 1:11 
GeneralRe: Tab is not showing properly within update panel Pin
DhivyaThangavel10-Nov-11 1:32
DhivyaThangavel10-Nov-11 1:32 
AnswerRe: Tab is not showing properly within update panel Pin
Dennis E White10-Nov-11 4:50
professionalDennis E White10-Nov-11 4:50 
GeneralRe: Tab is not showing properly within update panel Pin
DhivyaThangavel10-Nov-11 18:05
DhivyaThangavel10-Nov-11 18:05 
GeneralRe: Tab is not showing properly within update panel Pin
Dennis E White10-Nov-11 18:14
professionalDennis E White10-Nov-11 18:14 
GeneralRe: Tab is not showing properly within update panel Pin
DhivyaThangavel10-Nov-11 18:48
DhivyaThangavel10-Nov-11 18:48 
Question(500) Internal Server Error. Pin
benams8-Nov-11 23:03
benams8-Nov-11 23:03 
AnswerRe: (500) Internal Server Error. Pin
Dennis E White9-Nov-11 3:57
professionalDennis E White9-Nov-11 3:57 
AnswerRe: (500) Internal Server Error. Pin
R. Giskard Reventlov9-Nov-11 4:18
R. Giskard Reventlov9-Nov-11 4:18 
GeneralRe: (500) Internal Server Error. Pin
benams9-Nov-11 5:47
benams9-Nov-11 5:47 
QuestionJscript in content pages Pin
MalarGayu8-Nov-11 11:11
MalarGayu8-Nov-11 11:11 
AnswerRe: Jscript in content pages Pin
Dalek Dave8-Nov-11 11:29
professionalDalek Dave8-Nov-11 11:29 
AnswerRe: Jscript in content pages Pin
Not Active8-Nov-11 11:30
mentorNot Active8-Nov-11 11:30 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 12:09
MalarGayu8-Nov-11 12:09 
GeneralRe: Jscript in content pages Pin
Not Active8-Nov-11 12:31
mentorNot Active8-Nov-11 12:31 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 12:33
MalarGayu8-Nov-11 12:33 
GeneralRe: Jscript in content pages Pin
Dennis E White8-Nov-11 17:45
professionalDennis E White8-Nov-11 17:45 
AnswerRe: Jscript in content pages Pin
Dennis E White8-Nov-11 15:20
professionalDennis E White8-Nov-11 15:20 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 15:24
MalarGayu8-Nov-11 15:24 
AnswerRe: Jscript in content pages Pin
Brij8-Nov-11 22:42
mentorBrij8-Nov-11 22:42 
GeneralRe: Jscript in content pages Pin
MalarGayu9-Nov-11 11:57
MalarGayu9-Nov-11 11:57 
GeneralRe: Jscript in content pages Pin
MalarGayu9-Nov-11 14:37
MalarGayu9-Nov-11 14:37 
GeneralRe: Jscript in content pages Pin
Brij9-Nov-11 17:03
mentorBrij9-Nov-11 17:03 
Questionquestion on gridview logic Pin
classy_dog8-Nov-11 6:24
classy_dog8-Nov-11 6:24 
Since I am new to working on C# webforms 2010, I have the following questions to ask so I can understand what is occuring in the following code:

1. In the code listed below, what does the '|' mean in the line 'rowState | DataControlRowState.Edit'? In addition can you explain what is occuring in the line of code for <pre> 'row = base.CreateRow(rowIndex, dataSourceIndex, rowType, rowState | DataControlRowState.Edit);'


protected override GridViewRow CreateRow(int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState)
{
GridViewRow row;

if (this.BulkEdit)
row = base.CreateRow(rowIndex, dataSourceIndex, rowType, rowState | DataControlRowState.Edit);
else
row = base.CreateRow(rowIndex, dataSourceIndex, rowType, rowState);

return row;
}</pre>

2. In the aspx file, I see the following Namespace="BulkEditGridView". Can you explain or point me to a reference show I can understand how the "BulkEditGridView" namespace is wired into making the webpage work?
<pre>
<%@ Page Title="" Language="C#" MasterPageFile="~/ModuleBase.master" AutoEventWireup="true" CodeBehind="Manage.aspx.cs" Inherits="Support.Manage"
<%@ Register Assembly="Support" Namespace="BulkEditGridView" TagPrefix="test" %> </pre>

3. When I step through the code, I see the following items being referred to in the .aspx file. Can you explain what is occurring?
<pre>
<ItemTemplate>
<asp:CheckBox ID="chkL" OnCheckedChanged="CheckRoleChanged" AutoPostBack="true"
Checked='<%# Convert.ToBoolean( Eval ("L")) %>' runat="server" />
</ItemTemplate
</pre>
The code is called from ' row = base.CreateRow(rowIndex, dataSourceIndex, rowType, rowState | DataControlRowState.Edit);' that was listed above.
AnswerRe: question on gridview logic Pin
Dennis E White8-Nov-11 8:17
professionalDennis E White8-Nov-11 8:17 

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.