Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hi,

today I updated an existing web app with Q1_2010. I simply removed the Telerik.Web.UI ref - and added it new.
The web app compiled without any problems - but on the startpage http://iphone.pp-p.net the menu became vertical.

I messed around a lot - finally (I was afraid my complex layout makes problems) I added a new empty page and added manually a rad menu - also vertical :(
The reason - no CSS was emitted from web resources - finally I found that nothing came from there.

I "splitted" my project and after hours playing around I found the problem.
My project uses RadCompression and that was (is) the problem.

Everything worked after I removed the RadCompression Module from the modules block
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>  
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>  
        </httpModules> 
 

Did something change about compression with Q1_2010?

Regards

Manfred
Rosen
Telerik team
 answered on 16 Mar 2010
2 answers
142 views
Hi,

I downloaded the RadEditor MOSS Edition and tried it in my development environment.  It installed and activated fine but for one small problem.  The editor is not resizable.  Is there any setting I need to change to get the ability to dynamically resize the editor frame.?

cheers
Karthik Ramasubramanian
Stanimir
Telerik team
 answered on 16 Mar 2010
2 answers
128 views
hi
i have two problem with telerik.grid
first please look at my code

private void loadGridView()
        {
            grdIODump.DataSource = IOInfo.personIOInfo(Session["perno"].ToString(), txtbeginDate.Text, txtEndDate.Text);
            grdIODump.DataBind();
        }

i call this code in my submit button function;
and this is my grid code:
<telerik:RadGrid runat="server" ID="grdIODump" Skin="Black"  
        AutoGenerateColumns="False" GridLines="None" 
        AllowPaging="True" AllowSorting="True" PageSize="31"  
        GroupingEnabled="False" Font-Names="Tahoma" Font-Size="10pt"> 
     
    <MasterTableView NoMasterRecordsText="اطلاعاتی Ø¨Ø±Ø§ÛŒ Ù†Ù…ایش Ù…وجود Ù†Ù…ÛŒ Ø¨Ø§Ø´Ø¯"> 
        <Columns> 
            <telerik:GridBoundColumn DataField="enterDayName" HeaderText="روز ÙˆØ±ÙˆØ¯"  
                UniqueName="enterDayName" AllowSorting="False"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="BEGINDATE" HeaderText="تاریخ ÙˆØ±ÙˆØ¯"  
                UniqueName="BEGINDATE"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
               <telerik:GridBoundColumn DataField="BEGINTIME" HeaderText=" Ø³Ø§Ø¹Øª ÙˆØ±ÙˆØ¯"  
                UniqueName="BEGINTIME" AllowSorting="false"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
               <telerik:GridBoundColumn DataField="exitDayName" HeaderText="روز Ø®Ø±ÙˆØ¬"  
                UniqueName="exitDayName" AllowSorting="False"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
              <telerik:GridBoundColumn DataField="ENDDATE" HeaderText="تاریخ Ø®Ø±ÙˆØ¬"  
                UniqueName="ENDDATE" AllowSorting="False"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
              <telerik:GridBoundColumn DataField="ENDTIME" HeaderText="ساعت Ø®Ø±ÙˆØ¬"  
                UniqueName="ENDTIME" AllowSorting="False"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
              <telerik:GridBoundColumn DataField="DURATION" HeaderText="میزان Ú©Ø§Ø±Ú©Ø±Ø¯"  
                UniqueName="DURATION"> 
                <HeaderStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
                <ItemStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalAlign="Center" /> 
            </telerik:GridBoundColumn> 
        </Columns> 
         
    </MasterTableView> 
    <ClientSettings ReorderColumnsOnClient="True"> 
    </ClientSettings> 
     
</telerik:RadGrid> 
and now my problem:
1- when i click on one of header to sort my grid go disapear. but if i load grid view in my page_load too it does not but i can't load this in page_load.
2- if i write this code in my oadGridView() function

            for (int i = 0; i < grdIODump.Items.Count; i++)
            {
                if (grdIODump.Items[i]["DURATION"].Text == "Û°Û°:Û°Û°")
                {
                    grdIODump.Items[i].BackColor = System.Drawing.Color.Pink;
                }
            }
// change bg color of some row in if statement
it works just for first page of my grid and in the other page it doesn't work

can any one help me????



karyjon
Top achievements
Rank 1
 answered on 16 Mar 2010
13 answers
224 views
Hi ;

We are using Telerik 2009.3 and using Panelbar . It works perfectly on windows and Mac OS Snow leopard. But it is having a strange flicking issue on MAC 10.4.* + firefox combination. See my screenshot

i have seen related topic on here but coudnt see the solution


Screenshot is attached
Ben Amada
Top achievements
Rank 1
 answered on 16 Mar 2010
1 answer
73 views
I've created a function in C# thats results in a Redirect. See below. This function is called by a certain button on my page.
When using this in IE it works like a charm. But, using it in Firefox or other browsers it results in an error telling me that "window.parent.navigate" is not a function.

Any Ideas how i can fix this problem?

        private void Redirect(string captureType)
        {
            Telerik.Web.UI.RadAjaxManager mngr = (Telerik.Web.UI.RadAjaxManager)this.Page.Master.FindControl("RadAjaxManager");
            if (mngr != null)
            {
                mngr.ResponseScripts.Add(string.Format("window.parent.navigate('Capture.aspx?CaptureType={0}');", captureType));
            }
            else
            {
                throw new Exception("RadAjaxManager required on masterpage.");
            }
        }
Nikolay Rusev
Telerik team
 answered on 16 Mar 2010
1 answer
89 views
Hi,
  I am getting error in ie 6 version:

Sys.WebForms.PageRequestManagerServerErrorException:an unknown error occured while processing request of the server: the status code returned from the server was:12019

the download of the specified resource has failed
Nikolay Rusev
Telerik team
 answered on 16 Mar 2010
4 answers
697 views
Hi,

I am using following code to define telerik grid, since only one text column in the grid I want it to be 85% width and buttons to be one near each other. This works fine for edit and view operations.

<Columns>
            <telerik:GridBoundColumn Display="False" HeaderText="ID" UniqueName="idcolumn" DataField="RoleId">
            </telerik:GridBoundColumn>
            <telerik:GridEditCommandColumn  ButtonType="ImageButton" UniqueName="EditCommandColumn" CancelImageUrl="~/App_Themes/Gray/Images/grid_cancel.jpg"
                     EditImageUrl="~/App_Themes/Gray/Images/grid_edit.jpg"
                     UpdateImageUrl="~/App_Themes/Gray/Images/grid_update.jpg"
                     InsertImageUrl="~/App_Themes/Gray/Images/grid_update.jpg">
            </telerik:GridEditCommandColumn>
            <telerik:GridButtonColumn  ConfirmText="Are you sure you want to delete this Role?" ConfirmDialogType="RadWindow"
                        ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                        UniqueName="DeleteColumn" ImageUrl="~/App_Themes/Gray/Images/grid_delete.jpg">
            </telerik:GridButtonColumn>
            <telerik:GridButtonColumn UniqueName="column" CommandName="Select"
                Text="Select" ImageUrl="~/App_Themes/Gray/Images/select.jpg"
                ButtonType="ImageButton" DataTextField="RoleId" >
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn HeaderText="Role Name" UniqueName="rolenamecolumn" DataField="RoleName">
                <HeaderStyle Width="85%" />
            </telerik:GridBoundColumn>
        </Columns>

I use external button to insert a row to the grid. with following code,

protected void rtbTopBar_ButtonClick(object sender, RadToolBarEventArgs e)
        {
            RadToolBarButton btn = (RadToolBarButton)e.Item;
            if (btn.CommandName == "New")
            {
                grdRoles.MasterTableView.IsItemInserted = true;
                grdRoles.Rebind();
            }
        }

however issue is when insert mode 2 buttons are shown they shown in vertical direction due to lack of width (update button on top of cancel button). I want to find out a way to change the width of a column only in edit or insert modes.

Many Thanks,
Adipa
Adipa Gunasekara
Top achievements
Rank 1
 answered on 16 Mar 2010
1 answer
100 views
I have a grid that will be populated from the database.

Some of the rows returned will require hyperlinks and some rows will not--this just depends on what is being called back from the database. For example:

CELL 1        CELL 2                                CELL 3
Data            Data (Hyperlinked)                 
Data            Data (Hyperlinked)                 
Data            Data (No Hyperlink)    
Data            Data (No Hyperlink)   
Data            Data (Hyperlinked)      

I was going to use the Hyperlink template of the RADGrid but that means it will always show up as if there is a hyperlink even though there isn't. Is there a way to accomplish this using RADGrid? Thanks.


PJ         
Shinu
Top achievements
Rank 2
 answered on 16 Mar 2010
2 answers
69 views


<telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Default" HighlightTemplatedItems="True"
     ShowToggleImage="True" MarkFirstMatch="True">
                <ItemTemplate>
                    <table>
                        <tr>
                            <td >
                             <asp:Image ID="Image1" runat="server" ImageUrl=<%# DataBinder.Eval(Container, "Attributes['Image']")%> />
                             
                             
                             
                            </td>
                            <td style=" border-left-style:solid; width:1px"> </td>
         
                            <td >
                                (<%# DataBinder.Eval(Container,"Text") %>)
                               
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
                <Items>
                   <telerik:RadComboBoxItem
                    Image='../../excel.gif'                          //  This one don't work.
                    Text="导出Excel">
                  </telerik:RadComboBoxItem>
                  <telerik:RadComboBoxItem
                    Image="../../word.gif"                       //  This one don't work.
                    Text="导出Word">
                  </telerik:RadComboBoxItem>
                     <telerik:RadComboBoxItem
                    Image="D:\image\3.jpg"               // This work properly.
                    Text="导出PDF">
                  </telerik:RadComboBoxItem>
                  <telerik:RadComboBoxItem
                    Image="D:\image\4.jpg"             // This work properly.
                    Text="导出CVS">
                  </telerik:RadComboBoxItem>                
                  
                </Items>
            </telerik:RadComboBox>
liu qingshui
Top achievements
Rank 1
 answered on 16 Mar 2010
2 answers
94 views
Hi every one,

Now i have this problem, hopefully u all can help me.
For now, i already used CSS like below to overcome the image

<style type="text/css">
        .bm_customizedInsiderGray
        {
         z-index:9999;
        }
    </style>

But, when i open my page by IE 6 and 7, i found that this display problem.

Thks in advances,
Nasri
Arteta Sam
Top achievements
Rank 1
 answered on 16 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?