Web Forms :: Vertical Scroll Writing / For Announcement
Feb 4, 2010I found smthing on the internet as below and I can view horizontal dynamic writings with this. is there any other way to do that vertical?
View 2 RepliesI found smthing on the internet as below and I can view horizontal dynamic writings with this. is there any other way to do that vertical?
View 2 RepliesI had found one line code in vb which did this, using the System.Web.UI.Page, but I can't find it back. Someone could tell me what it was ?
View 3 Replieshere my requirement is datagrid scrollbar which is smaller than the datagrid height... I need little scrollbar at top vertical possition...
View 3 RepliesI've got a site that uses an Accordion, it has AutoSize="Limit" and the height is set to 600, however, when rendered, the Accordion div style is set to:"overflow-x: auto; height: 600px; overflow: hidden;"Does anyone know why this is the case? My understanding is that an AutoSize value of Limit should render style of "overflow-y: auto;" if not "overflow: auto;"?I tried setting the width to see if that makes any difference, but it still has "overflow: hidden".At the moment I have a work around which places the Accordion (with AutoSize="None") in a div with a style of "height: 420px; width: 750px; overflow: auto;", but I'm surprised that this issue exists and would prefer if I didn't have to use this work around.
Accordion tag:
[Code]....
Rendered div:
[Code]....
Referring to Menu / Scrolling Example I would like to create / find the same functionality for a vertical menu. I tried the following.
<asp:Menu ID="menuAccountMembers" runat="server" StaticSubMenuIndent="16px"
Visible="true" RenderingMode="Table"
ScrollDownImageUrl="~/Resources/scrolldown.jpg"
ScrollUpImageUrl="~/Resources/scrollup.jpg">
<Items>
But it doesnt display any scrolling images. I am using .net 4.0 Tried setting menuAccountMembers.RenderingCompatibility = new Version(3, 5); as well. If there a property to only display the first 5 root menu items, then show scroll bars for the rest? It can be click-able, no need to hover over to show next item.
I don't think this is possible at all, but does anyone know a way to get 2 vertical scroll bars on a panel? Right now here's the code:
[code]....
There's a GridView inside the panel and it's so wide that scrolling all the way over to the right to scroll down causes the client to lose their position on the page and would like a scrollbar provided on the left (keeping the one on the right) if it's possible, anyone know of a way to do that?
I would like to create an animation effect in order to have a vertical scroll of my images, the scroll must have a pause from an image to another. I have started with this, but I have some problems:
[Code]....
1. how center my image exactly in the div? Actually it is "near" it but not "in" it!
2. When the image move up it moves in the window OVER the div, not inside (so it doesen't disappeare when move up)
3. how realize the start-stop-start moving of the effect? Actually it begin at the load event of the page and then finish!
How to add vertical and horizontal scroll for grid view in Dot Net ?
View 1 RepliesI have a gridview on modelpopup then I have added the more data in gridview some data and pagination does not show on the bottom side of the gridview i.e I have to set the scroll for shows the all data from grid view...
View 1 Repliesi need to add vertical as well as horizontal scroll bar to grid view. i have read your artical about adding vertical scroll bar. how to add horizontal scroll bar ??
View 1 RepliesI am trying to display a report .rdl by using microsoft report viewer on a web form. i got 2 vertical scrollbar appear in report when i run the report. Does any one knows how to disable it?
View 1 Repliesi want to add scroll with fixed header in gridview below is my code:
<div class="fontInside" style="height:300px; background-color:#eeeeee; overflow:scroll;border:1px; border-color:#d4d4d4 ;border-collapse:collapse; width:100%">
<asp:GridView ID="gvAccounts" runat="server"
CssClass="mGrid" AutoGenerateColumns="False"
GridLines="None" >
<AlternatingRowStyle CssClass="alt" />
<HeaderStyle CssClass="fontInside"/>
<EmptyDataTemplate>
[code]...
Can I save a page position in browser after clicking button or some other actions (after PostBack)
I need it on Page Change event in my DBGrid like on msdn.microsoft.com - when I change Tab C# -> C++ for example it doesn't refresh whole page and I still being on same position in browser.
I have a gridview within a panel. As I am using ASP Content, and the width of the grid view will auto extend to the left, and beyond the default IE width, and I got to scroll to left using the horizontal scroll bar.
Now, I wanted to fixed the length of the Panel to maybe 800px or 900px. With this I wanted to add a section to the Panel, and put the grid view within the section, and I wanted this section to have the ability to scroll horizontally.
In short, I do not want the Ie's scroll bar, instead, I want a scroll section within a Panel.
Want to create a control to read the announcer.xml and render in a page.Can anyone suggest me the right method to implement this. basically want to update the .xml file and the page should display the announcments to the customers in the website.
View 3 RepliesI have a an asp.net label control on my page.I have set the style to overflow: auto.
What i would like to know, is when there is a lot of text in my label and the vertical scroll bar is showing, is there away i can scroll to the end of the label using javascript?I would like the user to always see the bottom section of the label.
Article here [URL] ....
The code only working for DataList what if I want replace it with ListView just cuz I need my items design responsive ...
i have images in left ,right,bottom of the page so i want to draw border like this , in vertical and horizontal,can you give example:
[code]....
currently i am displaying a single row of data in a grid but as its displays in vertical manner . i need something where in data can be displayed in horizontal manner one below another
View 1 RepliesGrid vertical scroll bar
<asp:Panel ID="Panel1" runat="server" Height="172px" Width="500px" ScrollBars="Vertical">...
I have a grid in the panel as i need to scroll vertically for grid records but even if rows r more i am not able to get vertical scrolling...
I've a calendar control in my web page, which has default view
View 3 RepliesI am experiencing a weird issue with my menu control on a website I just launched. Basically it seems like the top and bottom padding for the control is like 400 pixels on certain pages. This does not happen on IE6, IE8, Firefox 3.6, or chrome. Only IE7 (also IE8 compatibility mode). The other weird thing is that it happens 90% of the time and not 100%, so I can't get full consistency. Here is an image of what it should look like versus what the issue is. [URL] bad menu What I have done so far is remove skiplinktext and also tried to remove the 4px padding I had, neither helped.
[URL]
menu nav = home page > studio info > Registration > Register now
I need to place a vertical menu in my application. This should be bind using xml datasource. Also it should support expand/collapse (if any option has child links). Also first node should not be displayed in the menu option.
View 4 RepliesI am creating menu.ascx. I am trying to create main menu horizantel orientation and sub main vertical orientation . but not able to create it. My both main menu and sub menu is displaying horizental.
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" BackColor ="#cc33ff" Font-Size="12pt" ForeColor="White" >
<StaticMenuItemStyle HorizontalPadding="2px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="Info" ForeColor="DarkSlateBlue" />
<%--<DynamicMenuStyle BackColor="#D0E7FF" HorizontalPadding="2px" VerticalPadding="2px" />--%>
<DynamicMenuStyle BackColor="#ff33ff" HorizontalPadding="2px" VerticalPadding="2px" />
<StaticSelectedStyle BackColor="#366AB3" ForeColor="White" HorizontalPadding="2px" VerticalPadding="2px" />
<DynamicSelectedStyle BackColor="#507CD1" />
<DynamicMenuItemStyle HorizontalPadding="2px" VerticalPadding="2px" Font-Size="10pt" />
<Items>
<asp:MenuItem text = " Home " Value= "Home" NavigateUrl ="~/menu.aspx"> </asp:MenuItem>
<asp:MenuItem text = " Emp " Value= "Emp" >
<asp:MenuItem text = " Entry " Value= "Entry" NavigateUrl="~/info/entry.aspx">
</asp:MenuItem>
<asp:MenuItem text = " Entry1 " Value= "Entry1" NavigateUrl="~/info/entry1.aspx" >
</asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
My web page has more contents and have the vertical scroll. when i was on the middle of the page i click the button (or any postback process) then the click event do some process on postback. after this postback event the page is jerking and moved slightly to top automatically. this is the issue. it should be in the same place on every postback. how to fix the vertical scroll in the same position on postbacks.
View 2 Replies