User Profile & Activity

Jocelyn Rendulic Member
Page
of 6

Thank yo uthat worked.  I also have another question....

 

How do I hide the "Copy this Table" from showing up when you right click on the grid?  I would also like to do this from the code behind page as well.

I am having the smae problem, but the Update Manager does not show the Framework as available to update.  How do I get it to show the Frameowrk to be able to update?

Thanks that helps...I also have another question.  How to I access the grid from a page method?  This is my page method function..

 

[WebMethod(EnableSession = true)]
         public static void SaveAcctStatus(string status, string name, string date, string typeofreturn)
         {
            //Set some values and then update grid
         }

hi Peter,

 

We are having hte exact same issue Peter is having with the slow running script issue.  We are using IE8 and can not upgrade to IE9.  We also use the

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>

which we cannot change due to other problems is causes with the hright of the grid.  This is a high priority item and needs to get resolved as soon as possible.

 

Regards,

Jocelyn 

Posted: April 13, 2011 2:11 PM

The clsSessionManager is not need to run the code.  I am attaching the css file.

Posted: April 12, 2011 9:53 AM

I am attaching 2 page for you to run.  If you run testa.aspx.  Then click on the link for Recently Opened about 20 times.  You will see the horzontal scrollbar gets really tiny sometimes and you can barely see it.

Posted: April 6, 2011 4:21 PM

Yes, the error only happens some of the time.  We were able to fix the problem by upgrading to IE 8.  Our application needs to support IE7 as well....we need to continue to debug this and figure out why it does not work all the time with IE7.

Posted: April 6, 2011 9:56 AM

I looked at the posting.  Please tell me how to set the element.  Here is my example code.

 

<table id="idx2" class="clsBgTable" width="100%" style="table-layout:fixed; display:block" border="0" cellpadding="0" cellspacing="0" > <tr> <td > <ISWebGrid:WebGrid ID="MRUTrust" runat="server" UseDefaultStyle="false" Height="350" OnInitializeDataSource="MRUTrust_InitializeDataSource" > <RootTable> <SortedColumns> <ISWebGrid:WebGridGroup SortOrder="Descending" ColumnMember="lastopened"> </ISWebGrid:WebGridGroup> </SortedColumns> <Columns> <ISWebGrid:WebGridColumn Caption="Account Number" Name="trustno" EditType="NoEdit" FilterEditType="TextBox" DataMember="trustno" ColumnType="HyperLink" HyperlinkFormatString="javascript: opentrust('MRUTrust')" HyperlinkTarget="Self" FooterText="Total Rows:" AggregateFunction="Count" HiddenDataMember="trustseq" Width="120px" > <CellStyle HorizontalAlign="Right"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Account Name" DataMember="name" Name="name" EditType="NoEdit" AllowMultiLine="true" FilterEditType="TextBox" Width="170px" > </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Begin Date" DataMember="begtaxyear" Name="begtaxyear" EditType="NoEdit" Width="80px" FilterEditType="CalendarCombo"> <CellStyle HorizontalAlign="Right"></CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="End Date" DataMember="endtaxyear" Name="endtaxyear" EditType="NoEdit" Width="80px" FilterEditType="CalendarCombo"> <CellStyle HorizontalAlign="Right"></CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PAN" DataMember="acctno" Name="acctno" EditType="NoEdit" Width="70px" FilterEditType="TextBox"> <CellStyle HorizontalAlign="Right"></CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Tax Year" DataMember="taxyear" Name="taxyear" EditType="NoEdit" Width="70px" FilterEditType="TextBox"> <CellStyle HorizontalAlign="Right"></CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Last Opened Date" DataMember="lastopened" Name="lastopened" EditType="NoEdit" Width="130px" FilterEditType="CalendarCombo" DataType="System.DateTime"> <CellStyle HorizontalAlign="Right"></CellStyle> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings AllowAddNew="No" AllowColumnSizing="Yes" AllowColumnMove="Yes" AllowDelete="No" AllowEdit="No" AllowExport="No" AllowFilter="Yes" AllowGrouping="Yes" AllowSelectColumns="Yes" AllowSorting="Yes" GridLineColor="#CCCCCC" GridLines="Both" GridLineStyle="Solid" PagingMode="ClassicPaging" PagingSize="50" AllowBatchUpdate="false" PagingStyleUI="Slider" AllowMultipleSelection="Yes" GroupByBoxVisible="false" HeaderClickAction="SortMulti" VerboseEditingInformation="true" NewRowLostFocusAction="AlwaysUpdate" FocusNewRowOnLastCell="true" AllowColumnFreezing="Yes" ApplyFiltersKey="Enter" EditOnClick="True" AutoFilterSuggestion="true" PagingExportMode="ExportCurrentPageView" InProgressUIBehavior="ChangeCursorToHourGlass" HeaderWrapDefault="true" ColumnFooterAggregateMode="CalculateAllData" PagingDetectPartialGroupRows="True" ColumnFooters="Yes" ShowFilterStatus="True" ShowColumnAction="true" RowHeightDefault="-1" HelpURL="tools.aspx" CellClickAction="CellSelect"> <ClientSideEvents OnColumnMove="onColumnMove" OnColumnResize="onColumnResize" OnAfterResponseProcess="AfterResponseProcess" OnAfterInitialize="OnAfterInitialize" /> <FreezePaneSettings ShowInContextMenu="true" MaxFrozenColumns="6" /> <EditFocusCellStyle CssClass="EditFocusCellStyle"> </EditFocusCellStyle> <EditTextboxStyle CssClass="EditTextboxStyle"> </EditTextboxStyle> <FrameStyle CssClass="FrameStyle"> </FrameStyle> <GroupByBox> <Style CssClass="GroupByBoxStyle"> </Style> <LabelStyle CssClass="GroupByBoxLabelStyle" /> </GroupByBox> <GroupRowInfoStyle CssClass="GroupRowInfoStyle"> </GroupRowInfoStyle> <AlternatingRowStyle CssClass="AlternatingRowStyle"></AlternatingRowStyle> <RowStyle CssClass="RowStyle" Wrap="true"></RowStyle> <SelectedRowStyle CssClass="SelectedRowStyle" /> <HeaderStyle CssClass="HeaderStyle" ></HeaderStyle> <NewRowStyle CssClass="NewRowStyle"> </NewRowStyle> <FooterStyle CssClass="FooterStyle" /> <StatusBarStyle CssClass="StatusBarStyle"> </StatusBarStyle> <StatusBarCommandStyle> <Normal CssClass="StatusBarCommandStyleNormal"> </Normal> <Over CssClass="StatusBarCommandStyleOver"> </Over> <Active CssClass="StatusBarCommandStyleOver"> </Active> </StatusBarCommandStyle> <HyperlinkStyle CssClass="HyperlinkStyle" /> <DeletedRowStyle CssClass="DeletedRowStyle"> </DeletedRowStyle> <AddedRowStyle CssClass="AddedRowStyle"> </AddedRowStyle> <FilterRowStyle CssClass="FilterRowStyle" Wrap="false" /> </LayoutSettings> </ISWebGrid:WebGrid> </td> </tr> </table>
Posted: April 5, 2011 10:39 AM

Since it occasionally occurs there are no specific steps to get it to reproduce.  As you can see from the screen shot it does happen though.  Is there a property that we can set to always force the scrollbar to a certain height?

Posted: April 5, 2011 10:36 AM

You can actually create a blank page named MainMRU.aspx.  The page does not even have any code in it.  The problem is that sometimes the page will load and sometimes we will get the error that "cannot open internet site."  

All times are GMT -5. The time now is 7:33 PM.
Previous Next