Click here to Skip to main content
15,889,281 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionComo crear un menu dinamico segun rol del usuario Pin
MaruLau11-May-09 17:19
MaruLau11-May-09 17:19 
AnswerRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:53
Ramesh Swaminathan11-May-09 18:53 
GeneralRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:55
Ramesh Swaminathan11-May-09 18:55 
QuestionRe: Como crear un menu dinamico segun rol del usuario Pin
MaruLau18-May-09 14:14
MaruLau18-May-09 14:14 
QuestionTextBox date validation Pin
CodingLover11-May-09 16:15
CodingLover11-May-09 16:15 
AnswerRe: TextBox date validation Pin
CodingLover11-May-09 17:03
CodingLover11-May-09 17:03 
GeneralRe: TextBox date validation Pin
Baran M11-May-09 18:48
Baran M11-May-09 18:48 
Questionselect the checkbox, can see the additional grid view! [modified] Pin
HyeRyung11-May-09 14:40
HyeRyung11-May-09 14:40 
Hi, i wonder a few question about something.

1.in my application, i would like to express that when i click the checkbox,

then show additional xolumns in the grid view.

i embodied coulumns with BoundField with gridview.

and i'd like to allied showing additional columns start with column ship(i.e, From column 'FCST Rev'
To column 'Vendor' are defalut.)



   2. in my source, i'd like to combine the headerText.. is it possible function like colspan and   rowspan in the girdview?


*ref code

<pre>
<code>
<td style="height: 385px; width: 398px;" valign="top">
<asp:GridView id="grvFcst" runat="server" AllowSorting="True" BorderWidth="0px" BorderColor="White"
   CellPadding="0" AllowPaging="True" CellSpacing="1" AutoGenerateColumns="False" Width="100%" Font-Size="Smaller"
   ForeColor="DimGray" OnPageIndexChanging="boardGrid_PageIndexChanging" OnRowDataBound="boardGrid_RowDataBound"
   PageSize="20" >
<PagerSettings NextPageImageUrl="~/images/common/b_next.gif"
   PreviousPageImageUrl="~/images/common/b_pre.gif" NextPageText="Next" PreviousPageText="Previous" />
<RowStyle HorizontalAlign="Center" Height="18px" />
<HeaderStyle BackColor="#D2E1E6" HorizontalAlign="Center" Height="20px" ForeColor="#336699" Font-Size="Small" />
<AlternatingRowStyle BackColor="#F1F4F5" HorizontalAlign="Center" />
<EmptyDataRowStyle HorizontalAlign="Center" Height="50px" VerticalAlign="Middle" />
<EmptyDataTemplate>
<table width="100%" height="100%">
<tr>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">No</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">FCST Rev</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">RTF Rev</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">S_mat_code</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">B_mat_code</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">B_Mat_Desc</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Buyer</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Vendor</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Ship</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Shot</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Inspect</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">CT</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Block</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Yield</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Status</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Capa</td>
   <td style="background-color:#D2E1E6; color:#336699; font-size:small">Type</td>
</tr>
<tr>
   <td align="center">
      <asp:Label ID="message" runat="server" Text="Data is not Found!" Font-Bold="true" Font-Size="Medium" />
   </td>
</tr>
                                                     
   <tr height="2"><td bgcolor="#D2E1E6"></td></tr>
</table>
</EmptyDataTemplate>                                                                       
   <Columns>
   <asp:BoundField HeaderText="No">
      <ItemStyle Width="40px" />
   </asp:BoundField>
   <asp:BoundField HeaderText="FCST Rev" DataField="fcst_rev" />
   <asp:BoundField HeaderText="RTF Rev" DataField="rtf_rev" />
   <asp:BoundField HeaderText="S_mat_code" DataField="ref_ms" />
   <asp:BoundField HeaderText="B_mat_code" DataField="ref_m1" />
   <asp:BoundField HeaderText="B_Mat_Desc" DataField="ref_desc" />
   <asp:BoundField HeaderText="Buyer" DataField="Buyer" />
   <asp:BoundField HeaderText="Vendor" DataField="Vendor" />
   <asp:BoundField HeaderText="Ship" DataField="st_ship" />
   <asp:BoundField HeaderText="Shot" DataField="st_shot" />
   <asp:BoundField HeaderText="Inspect" DataField="st_inspect" />
   <asp:BoundField HeaderText="CT" DataField="st_ct" />
   <asp:BoundField HeaderText="Block" DataField="st_block" />
   <asp:BoundField HeaderText="Yield" DataField="st_yield" />
   <asp:BoundField HeaderText="Status" DataField="st_status" />
   <asp:BoundField HeaderText="Capa" DataField="st_capa" />
   <asp:BoundField HeaderText="Type" DataField="" />
   </Columns>
   <PagerStyle HorizontalAlign="Center" CssClass="pagerStyle" />
</asp:GridView>
</td>
</code>
</pre>

modified on Monday, May 11, 2009 10:21 PM

QuestionOptimize Your db4o Techniques in 6 Pages! Pin
Lyndsey Clevesy11-May-09 11:46
Lyndsey Clevesy11-May-09 11:46 
QuestionAdd Bak file Pin
hahii11-May-09 11:07
hahii11-May-09 11:07 
AnswerRe: Add Bak file Pin
Ramesh Swaminathan11-May-09 19:07
Ramesh Swaminathan11-May-09 19:07 
AnswerRe: Add Bak file Pin
Abhijit Jana11-May-09 19:33
professionalAbhijit Jana11-May-09 19:33 
Questioncan't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:00
dd31415911-May-09 11:00 
AnswerRe: can't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:03
dd31415911-May-09 11:03 
Questionget the cursor position in a textarea Pin
Member 364582311-May-09 9:18
Member 364582311-May-09 9:18 
AnswerRe: get the cursor position in a textarea Pin
N a v a n e e t h11-May-09 16:27
N a v a n e e t h11-May-09 16:27 
QuestionDatagrid edit command textbox reference Pin
janetb9911-May-09 4:34
janetb9911-May-09 4:34 
AnswerRe: Datagrid edit command textbox reference Pin
uoods11-May-09 9:04
uoods11-May-09 9:04 
QuestionASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
EliottA11-May-09 2:50
EliottA11-May-09 2:50 
AnswerRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
N a v a n e e t h11-May-09 3:33
N a v a n e e t h11-May-09 3:33 
GeneralRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
EliottA11-May-09 3:59
EliottA11-May-09 3:59 
GeneralRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
N a v a n e e t h11-May-09 16:24
N a v a n e e t h11-May-09 16:24 
Question"threat was being aborted" error [modified] Pin
priya1515s11-May-09 2:50
priya1515s11-May-09 2:50 
AnswerRe: "threat was being aborted" error Pin
Colin Angus Mackay11-May-09 2:59
Colin Angus Mackay11-May-09 2:59 
GeneralRe: "threat was being aborted" error Pin
N a v a n e e t h11-May-09 3:06
N a v a n e e t h11-May-09 3:06 

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.