Click here to Skip to main content
15,919,434 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTabContainer cannot have children of type 'System.Web.UI.UpdatePanel'. Pin
developerit6-Jun-10 21:05
developerit6-Jun-10 21:05 
AnswerRe: TabContainer cannot have children of type 'System.Web.UI.UpdatePanel'. Pin
Jamil Hallal6-Jun-10 21:55
professionalJamil Hallal6-Jun-10 21:55 
QuestionHow to be man in the middle for a http communication!! Pin
Nadia Monalisa6-Jun-10 19:57
Nadia Monalisa6-Jun-10 19:57 
AnswerRe: How to be man in the middle for a http communication!! Pin
Adam R Harris7-Jun-10 4:15
Adam R Harris7-Jun-10 4:15 
GeneralRe: How to be man in the middle for a http communication!! Pin
Nadia Monalisa7-Jun-10 8:51
Nadia Monalisa7-Jun-10 8:51 
GeneralRe: How to be man in the middle for a http communication!! Pin
Adam R Harris7-Jun-10 9:18
Adam R Harris7-Jun-10 9:18 
QuestionHow to enforse 'https' or 'http' protocol in ASp.NET Web Form Routing ? Pin
Nadia Monalisa6-Jun-10 19:19
Nadia Monalisa6-Jun-10 19:19 
QuestionScroll bar not maintaining its position in ListView (ASP.net) Pin
mittalpa6-Jun-10 18:48
mittalpa6-Jun-10 18:48 
Hi I have a listview inside a DIV which shows the scroll bars. At one time, let's say, 10 rows can be seen. I scroll down and click Edit on 25 row. To my surprise, the scroll goes to the first row (although if I go back to 25th row, the row is in edit mode)

My issue, how I can make sure that the scroll bar maintains its position to 25th row after clicking on Edit button?

Please advise. Thanks

AJ
<style>
.StopScroll1{ 
	Z-INDEX: 20; POSITION: relative;left:-1px; TOP: expression(document.getElementById("divGrid1").scrollTop);
}
</style>


<div id="div1" style="position: relative; width: 100%; width: 700px; height: 200px;
    margin: 0px; padding: 0px; overflow: auto; overflow-x: scroll; overflow-y: scroll">
    <asp:ListView ID="ListView1" runat="server 
    OnSorting="Sorting" 
    OnItemEditing=" EditList"                                        
    >
    <LayoutTemplate>
        <table class="TableReleative TableFH" style="width: 97.5%;" cellspacing="0" cellpadding="0"
            runat="server" id="tblGrid">
            <tr style="height: 20px;" class="StopScrollTL" runat="server" id="thGrid">
                <th style="text-align: center;">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </th>
            </tr>
            <tr id="itemPlaceholder" runat="server">
            </tr>
        </table>
    </LayoutTemplate>
	<ItemTemplate>
	.....
	</ItemTemplate>

	<EditItemTemplate>
	.....
	</EditItemTemplate>
    </asp:ListView>
</div>

Follow your goals, Means will follow you ---Gandhi---

AnswerRe: Scroll bar not maintaining its position in ListView (ASP.net) Pin
Sandeep Mewara6-Jun-10 19:45
mveSandeep Mewara6-Jun-10 19:45 
QuestionHow to send mail automatically. Pin
Honeyboy_206-Jun-10 16:46
Honeyboy_206-Jun-10 16:46 
AnswerRe: How to send mail automatically. Pin
Sandeep Mewara6-Jun-10 18:25
mveSandeep Mewara6-Jun-10 18:25 
AnswerRe: How to send mail automatically. Pin
Jamil Hallal6-Jun-10 20:21
professionalJamil Hallal6-Jun-10 20:21 
AnswerRe: How to send mail automatically. Pin
The solution7-Jun-10 0:49
The solution7-Jun-10 0:49 
GeneralRe: How to send mail automatically. Pin
Honeyboy_207-Jun-10 5:09
Honeyboy_207-Jun-10 5:09 
GeneralRe: How to send mail automatically. Pin
ureyes8416-Feb-11 10:27
ureyes8416-Feb-11 10:27 
QuestionI need code upload Video by ASP Classic Pin
haibec6-Jun-10 15:54
haibec6-Jun-10 15:54 
AnswerRe: I need code upload Video by ASP Classic Pin
Sandeep Mewara6-Jun-10 18:21
mveSandeep Mewara6-Jun-10 18:21 
QuestionMessage Removed Pin
6-Jun-10 11:26
tek 20096-Jun-10 11:26 
AnswerRe: fill a table Pin
Sandeep Mewara6-Jun-10 18:22
mveSandeep Mewara6-Jun-10 18:22 
QuestionMatrix Report in Crystal Report Pin
sharad Pyakurel5-Jun-10 17:09
sharad Pyakurel5-Jun-10 17:09 
AnswerRe: Matrix Report in Crystal Report Pin
Sandeep Mewara5-Jun-10 21:04
mveSandeep Mewara5-Jun-10 21:04 
QuestionRequesting for a suggession about choosing the best method to determine Debug mode Pin
Nadia Monalisa5-Jun-10 9:23
Nadia Monalisa5-Jun-10 9:23 
AnswerRe: Requesting for a suggession about choosing the best method to determine Debug mode Pin
Not Active5-Jun-10 13:16
mentorNot Active5-Jun-10 13:16 
GeneralRe: Requesting for a suggession about choosing the best method to determine Debug mode Pin
Nadia Monalisa5-Jun-10 16:27
Nadia Monalisa5-Jun-10 16:27 
GeneralRe: Requesting for a suggession about choosing the best method to determine Debug mode Pin
Not Active5-Jun-10 16:54
mentorNot Active5-Jun-10 16:54 

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.