Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
Hi, I'm is Brazilian and no have inglesh good.

I developer one grid whit scrolling, but the grid no render rigth when chage scroll.

Missing collumns, lines repeat, ...

My grid:

<telerik:RadGrid ID="gridMapa" runat="server" ForeColor="#333333" CssClass="gridVazia" Skin="" EnableEmbeddedSkins="False" OnItemDataBound="gridMapa_ItemDataBound" OnExcelMLExportRowCreated="gridMapa_ExcelMLExportRowCreated" OnExcelMLExportStylesCreated="gridMapa_ExcelMLExportStylesCreated" Width="95%">  
    <FooterStyle BackColor="#5D7B9D" ForeColor="White" /> 
    <AlternatingItemStyle BackColor="White"  CssClass="Espacamento" ForeColor="#284775" /> 
    <ItemStyle BackColor="#F7F6F3" CssClass="Espacamento" ForeColor="#333333" Wrap="False" /> 
    <PagerStyle BackColor="#284775" ForeColor="White" FirstPageImageUrl="PagingFirst.gif" LastPageImageUrl="PagingLast.gif" NextPageImageUrl="PagingNext.gif" PrevPageImageUrl="PagingPrev.gif"/>  
    <MasterTableView NoDetailRecordsText="" NoMasterRecordsText="">  
        <RowIndicatorColumn FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">  
            <HeaderStyle Width="20px" /> 
        </RowIndicatorColumn> 
        <ExpandCollapseColumn CollapseImageUrl="SingleMinus.gif" ExpandImageUrl="SinglePlus.gif" FilterImageUrl="Filter.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif">  
            <HeaderStyle Width="20px" /> 
        </ExpandCollapseColumn> 
        <EditFormSettings> 
            <EditColumn CancelImageUrl="Cancel.gif" EditImageUrl="Edit.gif" FilterImageUrl="Filter.gif" 
                InsertImageUrl="Update.gif" SortAscImageUrl="SortAsc.gif" SortDescImageUrl="SortDesc.gif" 
                UpdateImageUrl="Update.gif">  
            </EditColumn> 
        </EditFormSettings> 
        <CommandItemSettings AddNewRecordImageUrl="AddRecord.gif" RefreshImageUrl="Refresh.gif" /> 
        <PagerStyle FirstPageImageUrl="PagingFirst.gif" LastPageImageUrl="PagingLast.gif" 
            NextPageImageUrl="PagingNext.gif" PrevPageImageUrl="PagingPrev.gif" /> 
    </MasterTableView> 
    <SelectedItemStyle BackColor="#E2DED6" ForeColor="#333333" /> 
    <HeaderStyle CssClass="Espacamento" Wrap="False" BackColor="#5D7B9D" ForeColor="White" /> 
    <EditItemStyle BackColor="#999999" /> 
    <SortingSettings SortToolTip="Clique aqui para ordenar..." /> 
    <StatusBarSettings LoadingText="Carregando..." /> 
    <ExportSettings> 
        <Pdf PageHeight="297mm" PageWidth="210mm" PaperSize="A4" /> 
    </ExportSettings> 
    <FilterMenu EnableEmbeddedSkins="False" EnableTheming="True" Skin="">  
        <CollapseAnimation Duration="200" Type="OutQuint" /> 
    </FilterMenu> 
</telerik:RadGrid> 

Source:

protected void gridMapa_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)  
    {  
        if (e.Item.ItemType == Telerik.Web.UI.GridItemType.AlternatingItem  
            || e.Item.ItemType == Telerik.Web.UI.GridItemType.Item  
            || e.Item.ItemType == Telerik.Web.UI.GridItemType.Header)  
        {  
            if (e.Item.ItemType != Telerik.Web.UI.GridItemType.Header)  
            {  
                if (isVertical)  
                {  
                    e.Item.Cells[2].BackColor = gridMapa.HeaderStyle.BackColor;  
                    e.Item.Cells[2].CssClass = gridMapa.HeaderStyle.CssClass;  
                    e.Item.Cells[2].ForeColor = gridMapa.HeaderStyle.ForeColor;                      
                    e.Item.Cells[2].Font.Bold = true;                      
                    e.Item.Cells[2].Wrap = false;//gridMapa.HeaderStyle.Wrap;  
                }  
                if (isVertical && e.Item.ItemIndex > 0)  
                {  
                    for (int i = 3; i <= (e.Item.Cells.Count - 1); i++)  
                    {  
                        e.Item.Cells[i].Attributes.Add("onMouseOver""this.style.cursor='pointer'");  
                        if (origem == Origem.email.ToString())  
                        {  
                            e.Item.Cells[i].Attributes.Add("onClick""window.open ('" + ConfigurationManager.AppSettings["caminhoPaginaProcessosAbsoluto"] + "?NrProcesso=" + gridMapa.Items[0].Cells[i].Text + "', 'mapaFollowUP'); return false;");  
                        }  
                        else 
                        {  
                            e.Item.Cells[i].Attributes.Add("onClick""location.href = 'processos.aspx?NrProcesso=" + gridMapa.Items[0].Cells[i].Text + "'; return false;");  
                        }  
                    }  
                }  
                else 
                {  
                    e.Item.Attributes.Add("onMouseOver""this.style.cursor='pointer'");  
                    if (origem == Origem.email.ToString())  
                    {  
                        e.Item.Attributes.Add("onClick""window.open ('" + ConfigurationManager.AppSettings["caminhoPaginaProcessosAbsoluto"] + "?NrProcesso=" + e.Item.Cells[2].Text + "', 'mapaFollowUP'); return false;");  
                    }  
                    else 
                    {  
                        e.Item.Attributes.Add("onClick""location.href = 'processos.aspx?NrProcesso=" + e.Item.Cells[2].Text + "'; return false;");  
                    }  
                }  
            }  
            else 
            {                  
                if (e.Item.Cells[2].Text.ToLower() == "col1")  
                {  
                    isVertical = true;  
                    //e.Item.Visible = false;  
                    gridMapa.MasterTableView.ShowHeader = false;  
                    gridMapa.MasterTableView.Caption = "Mapa de Processos";  
 
                    for (int i = 2; i <= (e.Item.Cells.Count - 1); i++)  
                    {  
                        e.Item.Cells[i].Text = "";  
                    }  
                }  
                else 
                {  
                    isVertical = false;  
                    e.Item.Visible = false;  
                    gridMapa.MasterTableView.ShowHeader = true;  
                    gridMapa.MasterTableView.Caption = "";  
                }  
            }  
            e.Item.Cells[2].Visible = isVertical;  
            e.Item.ToolTip = "Clique aqui para ver o processo.";  
        }  
    } 

Afeter binder:

gridMapa.ClientSettings.Scrolling.AllowScroll = true;  
                    gridMapa.ClientSettings.Scrolling.UseStaticHeaders = true;  
                    gridMapa.ClientSettings.Scrolling.FrozenColumnsCount = 1; 

I need for help,

Thanks.
Dimo
Telerik team
 answered on 02 Mar 2009
3 answers
171 views
When I Clik the node (in leve 3), the treeview show the next Message:
Sys.WebForms.PageRequestManagerParserErrorException: Then Message received from the server could not be parser.
Common causes for this error are when the response is modified by calls to response.Write(), respose filter, HttpModules,
or server trace is enabled.
Details: Error Parsing near 'ddeen"/>
</div
|<html>
<head>
'
'
In this page I have tabstrip, multipage and gridas...
Please Help me, about this error, I tried some things but error is the same.....!!!
Thanks......

Is there any telerik  forum in spanish ?
Veselin Vasilev
Telerik team
 answered on 02 Mar 2009
5 answers
124 views
Hello All,
    I have used three level hierarchy of grid in my webisite. I want google like filtering to inner two grid in the hierarchy. Can you provide me any sample. How should i do google like filtering to inner grid.

Thanks
Rahul
Rahul
Top achievements
Rank 1
 answered on 02 Mar 2009
3 answers
132 views

In safari I have weird display issues with the buttons that have rad form decorator applied to them. The button is sliced in half and the bottom button has vertical lines across it. Has telerik encountered this problem before? I have another button in the layout that does not have that issues is this a formatting issue or is this a bug? How should I handle this ??

Georgi Tunev
Telerik team
 answered on 02 Mar 2009
1 answer
342 views
Is it possible to do something like this?

<telerik:GridTemplateColumn HeaderText="" UniqueName="TemplateColumn3">
<ItemTemplate>
<asp:ImageButton ID="info" runat="server" OnClientClick="addsubmenu(<%# Eval("DestID") %>)" ImageUrl="~/globalgraphics/webicons/info.jpg" />
</ItemTemplate>
</telerik:GridTemplateColumn>

 

 

 

 

 

 

 

 

Princy
Top achievements
Rank 2
 answered on 02 Mar 2009
3 answers
79 views
I have created a confirm dialog for my application. It is displayed fine in IE, but in FireFox (3.0.5) the title bar (text and close button) appear slightly above the the window frame (half in and half out). I was wondering if anyone else reported this problem and if so is there a solution. I have changed the default template slightly as follows to use our own images and adjust the styles. Would this have any affect on how the modal is rendered in FF? Is it possible to send a screen shot to you?  Thanks in advance...

<telerik:RadWindowManager Skin="WebBlue" ID="RadWindowManagerPOPUP" runat="server">
    <ConfirmTemplate>
       <div class="windowpopup">  
        <div class="dialogtext"> {1} </div>     
           <div>
             <a onclick="$find('{0}').callBack(true);"
                href="javascript:void(0);" >
                <img src="../images/Ok.gif" style="border:none;" alt="I Accept" />
             </a>
             <a onclick="$find('{0}').callBack(false);"
                href="javascript:void(0);">
                <img src="../images/Cancel.gif" style="border:none;" alt="Cancel" />
             </a>
           </div>
         </div>
     </ConfirmTemplate>
</telerik:RadWindowManager>

 

Georgi Tunev
Telerik team
 answered on 02 Mar 2009
1 answer
103 views


Hi

  The filtering of the columns is shown on the simple grid.
But I want the same thing in the Hierarchical grid.
I want that the filtering must appear on the 2nd and 3rd level of the hierarchical grid i.e the first level must not have any filtering.
Please help me with this. OR just Suggest whether it is possible or not with hierarchical grid.



Thanks in advance.
Regrads,
Ashwini
Princy
Top achievements
Rank 2
 answered on 02 Mar 2009
1 answer
78 views


       Hello All,
   

              I am using Hierachical Grid .In that I want to show Google like filtering in that grid.and this data should be bind with datatable  not a database.


    Please Help me..It's Urgent

    Thanx in Advance.
 

    Regards
    Nisha,
  
Princy
Top achievements
Rank 2
 answered on 02 Mar 2009
1 answer
89 views
Hello,

I would like to introduce the possibility of using two images in a radgrid, one will be to redirect to the first page of my radgrid and the second to reditrect to the last page.

For so I have used the following code:
<PagerStyle Mode="NextPrevNumericAndAdvanced" FirstPageImageUrl="~/_Img/Ico16/IcoPrimeraPagina.gif" LastPageImageUrl="~/_Img/Ico16/IcoUltimaPagina.gif" PageButtonCount="5"  />

Unfortunately is not working. Isn´t it the correct code?

What do yuo suggest me?

Thank you.



Shinu
Top achievements
Rank 2
 answered on 02 Mar 2009
12 answers
283 views
Is there a list somewhere that indicates which platforms the Prometheus suite is officially supported on? "Platform" in this case means a specific browser build on a specific operating system build. We recently migrated several of our controls to the new Prometheus suite, with great success. However, I am getting calls from some customers who (unbeknownst to us) are still using Windows 2000 and IE6 (which is build 6.0.2800.1106). After some testing, we noticed that the Windows 2000 version of IE6 behaves quite differently from the Windows XP version of IE6. What specific platforms does Telerik test on and fully support? I'm not asking you to support Windows 2000 if you don't, but I need to know if you aren't testing anything on it. Thanks!
Sebastian
Telerik team
 answered on 02 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?