Click here to Skip to main content
15,918,516 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: file access??????plz me!!!! Pin
azamt6-Oct-09 19:07
azamt6-Oct-09 19:07 
QuestionAutopostback not working in usercontrol Pin
ansriharsha6-Oct-09 0:43
ansriharsha6-Oct-09 0:43 
AnswerRe: Autopostback not working in usercontrol Pin
Blikkies6-Oct-09 3:35
professionalBlikkies6-Oct-09 3:35 
GeneralRe: Autopostback not working in usercontrol Pin
ansriharsha6-Oct-09 19:50
ansriharsha6-Oct-09 19:50 
AnswerRe: Autopostback not working in usercontrol Pin
Kannan Ar6-Oct-09 5:21
professionalKannan Ar6-Oct-09 5:21 
GeneralRe: Autopostback not working in usercontrol Pin
ansriharsha6-Oct-09 19:55
ansriharsha6-Oct-09 19:55 
GeneralRe: Autopostback not working in usercontrol Pin
Kannan Ar7-Oct-09 6:12
professionalKannan Ar7-Oct-09 6:12 
QuestionGridview paging problem Pin
meeram3956-Oct-09 0:21
meeram3956-Oct-09 0:21 
I am facing a peculiar problem in my page. I have two gridviews in my page. For both I have enabled paging. The paging is appearing in the first grid, but for the second one it is not displaying. Any idea?

Following is my html code for two grids:
<asp:GridView ID="PartsListGridView" Width="100%" runat="server" AutoGenerateColumns="false" GridLines="Both" AllowPaging="true"
                                   CssClass="GridView" OnPageIndexChanging="PartsListGridView_PageIndexChanging">
                                       <HeaderStyle CssClass="GridViewHeader" />
                                       <AlternatingRowStyle CssClass="GridViewAltRow" />
                                       <PagerStyle CssClass="GridViewPager" HorizontalAlign="Center" />
                                       <PagerSettings Mode="NumericFirstLast" Position="Bottom" />
                                       <RowStyle CssClass="GridViewRow" />
                                       <Columns>
                                           <asp:TemplateField HeaderText="<%$ Resources:PartNumberHeader.Text %>">
                                               <ItemTemplate>
                                                   <%# DataBinder.Eval(Container.DataItem,"PartNumber") %>
                                               </ItemTemplate>
                                           </asp:TemplateField>
                                       </Columns>
                                   </asp:GridView>

<asp:GridView ID="BusinessUnitPartsGrid" Width="100%" runat="server" OnRowDataBound="BusinessUnitPartsGrid_OnRowDataBound"
                               AutoGenerateColumns="True" GridLines="Both" AllowPaging="true" CssClass="GridView"
                               OnPageIndexChanging="BusinessUnitPartsGrid_PageIndexChanging" >
                                   <HeaderStyle CssClass="GridViewHeader" />
                                   <AlternatingRowStyle CssClass="GridViewAltRow" />
                                   <PagerStyle CssClass="GridViewPager" HorizontalAlign="Center" />
                                   <PagerSettings  Mode="NumericFirstLast" Position="Bottom" />
                                   <RowStyle CssClass="GridViewRow" />
                               </asp:GridView>


When I checked the view source of the page, I couldn't find the Gridviewpage for the second grid.
For first grid:
<tr class="GridViewPager" align="center">
						<td><table border="0">
							<tr>
								<td><span>1</span></td><td><a href="javascript:__doPostBack('ctl00$PCMSMainContent$CreateDocumentWizard$PartsListGridView','Page$2')">2</a></td><td><a href="javascript:__doPostBack('ctl00$PCMSMainContent$CreateDocumentWizard$PartsListGridView','Page$3')">3</a></td>
							</tr>


For second grid, I can see only the below:
<tr class="GridViewPager" align="center">
 
					</tr>


Any idea why it is so? How can I make the paging as in First grid? Please help.

Thanks

Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

AnswerRe: Gridview paging problem Pin
Thanigainathan.S6-Oct-09 3:13
Thanigainathan.S6-Oct-09 3:13 
GeneralRe: Gridview paging problem Pin
meeram3956-Oct-09 3:47
meeram3956-Oct-09 3:47 
AnswerRe: Gridview paging problem Pin
Rutvik Dave6-Oct-09 5:08
professionalRutvik Dave6-Oct-09 5:08 
QuestionItemDataBound event in Asp.net Pin
shaik_mr5-Oct-09 23:24
shaik_mr5-Oct-09 23:24 
AnswerRe: ItemDataBound event in Asp.net Pin
Christian Graus5-Oct-09 23:33
protectorChristian Graus5-Oct-09 23:33 
GeneralRe: ItemDataBound event in Asp.net Pin
shaik_mr5-Oct-09 23:54
shaik_mr5-Oct-09 23:54 
GeneralRe: ItemDataBound event in Asp.net Pin
Christian Graus5-Oct-09 23:57
protectorChristian Graus5-Oct-09 23:57 
QuestionData Transfer / Multiple pages. Pin
gerrybrennan5-Oct-09 22:53
gerrybrennan5-Oct-09 22:53 
AnswerRe: Data Transfer / Multiple pages. Pin
Christian Graus5-Oct-09 23:37
protectorChristian Graus5-Oct-09 23:37 
AnswerRe: Data Transfer / Multiple pages. Pin
Kannan Ar6-Oct-09 5:48
professionalKannan Ar6-Oct-09 5:48 
QuestionAjax Shoppin Cart Pin
KhandelwalA5-Oct-09 22:47
KhandelwalA5-Oct-09 22:47 
AnswerRe: Ajax Shoppin Cart Pin
Christian Graus5-Oct-09 23:42
protectorChristian Graus5-Oct-09 23:42 
QuestionHow to stop text_changed event on a particular button click Pin
amittinku5-Oct-09 21:53
amittinku5-Oct-09 21:53 
AnswerRe: How to stop text_changed event on a particular button click Pin
Anurag Gandhi5-Oct-09 22:37
professionalAnurag Gandhi5-Oct-09 22:37 
GeneralRe: How to stop text_changed event on a particular button click Pin
amittinku5-Oct-09 22:44
amittinku5-Oct-09 22:44 
GeneralRe: How to stop text_changed event on a particular button click Pin
Christian Graus5-Oct-09 23:48
protectorChristian Graus5-Oct-09 23:48 
GeneralRe: How to stop text_changed event on a particular button click Pin
amittinku6-Oct-09 0:03
amittinku6-Oct-09 0:03 

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.