Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
Hi guys,
I have an issue with a grid (2010 Q1) when I am using IE8. it seems to be a resize problem because the whole grid shrank to 10px height, but if I run it IE8 in compatibility mode, works fine. I attached 2 picture where you can see my problem.
Also, here's my code:

 

 

<telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" Height="100%" Width="100%">

 

 

 

<telerik:RadPane ID="ContentPane" runat="server" Height="100%" Width="100%" PersistScrollPosition="False">

 

 

 

<telerik:RadGrid

 

 

 

ID="RadGrid1"

 

 

 

runat="server"

 

 

 

AllowMultiRowSelection= "True"

 

 

 

OnItemCreated="RadGrid1_ItemCreated"

 

 

 

DataSourceID="ObjectDataSource1" GridLines="None"

 

 

 

DataKeyNames="WorkOrderID" AllowFilteringByColumn="True"

 

 

 

AllowSorting="True" Height="70%" Skin="Vista" AllowPaging="True">

 

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced"

 

 

 

AlwaysVisible="True" />

 

 

 

<MasterTableView

 

 

 

CommandItemDisplay="Top"

 

 

 

PageSize="100" DataSourceID="ObjectDataSource1" DataKeyNames="WorkOrderID"

 

 

 

InsertItemPageIndexAction="ShowItemOnCurrentPage" ShowFooter="True"

 

 

 

Width="99%" TableLayout="Fixed">

 

 

 

<RowIndicatorColumn Visible="False">

 

 

 

<HeaderStyle Width="20px" />

 

 

 

</RowIndicatorColumn>

 

 

 

<ExpandCollapseColumn Visible="False" Resizable="False">

 

 

 

<HeaderStyle Width="20px" />

 

 

 

</ExpandCollapseColumn>

 

 

 

<Columns>

 

 

 

<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn"

 

 

 

ItemStyle-Width="20px" HeaderStyle-Width="22px">

 

 

 

<HeaderStyle Width="22px" />

 

 

 

<ItemStyle Width="20px" />

 

 

 

</telerik:GridClientSelectColumn>

 

 

 

<telerik:GridTemplateColumn

 

 

 

UniqueName="TemplateEditColumn" AllowFiltering="False" ItemStyle-Width="20px" HeaderStyle-Width="22px" HeaderText="Edit">

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ToolTip="Edit Record" ImageUrl="~/Images/Edit.gif" ID="btn" runat="server"/>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="22px" />

 

 

 

<ItemStyle Width="20px" Font-Size="XX-Small"/>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn DataField="WorkOrderID" HeaderText="WorkOrderID"

 

 

 

UniqueName="column2" Visible="False">

 

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

 

 

<EditFormSettings>

 

 

 

<PopUpSettings ScrollBars="None"></PopUpSettings>

 

 

 

</EditFormSettings>

 

 

 

<PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom"

 

 

 

AlwaysVisible="True" />

 

 

 

<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 

 

 

Font-Strikeout="False" Font-Underline="False"

 

 

 

Wrap="false" Font-Size="Small" />

 

 

 

<CommandItemTemplate>

 

 

 

<div class="bgmd2" style="padding:0px 0px;" >

 

 

 

 

</div>

 

 

 

</CommandItemTemplate>

 

 

 

</MasterTableView>

 

 

 

<ClientSettings>

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true"/>

 

 

 

</ClientSettings>

 

 

 

</telerik:RadGrid>

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadSplitter>

It works fine for IE8 and IE8 compatibility mode when I change Height="70%" to Height="300px", but I like to use percentage. 


Any idea what could be causing this issue.

Thanks,
-Guillermo

 

Dimo
Telerik team
 answered on 29 Apr 2010
3 answers
335 views

Hi,

i have one combobox i.e.

 <telerik:RadComboBox ID="Fund" runat="server"
                            DataSourceID="Source" DataTextField="Code" DataValueField="Currency" 
                            Width="55px" Skin="Outlook" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged1" SelectedValue='<%# Bind("Fund") %>'
                            BorderWidth="1px">
                       </telerik:RadComboBox> 

now the dropdown is populating with 3 values on page load.e.g 1 , 2 and 3
whenever i am selecting 1 and 2 it is ok but when selecting 3 it automatically takes 1.
strange problem but i dont have any clue why this is happening.
but if  replace DataValueField = "currency" with DataValueField="code" then it is working absolutely fine.

please help me as i dont have any clue why it is behaving like so.

waiting for reply.

thanks in advance.

Veronica
Telerik team
 answered on 29 Apr 2010
3 answers
186 views
Hi all,

        I am new to telrik rad controls. i have a radgrid with grid bound column. i am using a drop down list as filter for this column.
i have achieved this by giving a radcombobox inside the filter template of the column. i have set the datasource id of the drop down to an object data source that fetches data from my business logic layer in the properties window.

The contents of my drop down should vary based on the user who sees the page. i can have multiple object datasource for each user. but i am not sure how to dynamically change the datasource id of this drop down filter from code behind. Please help.

Regards,
Saravanan K
Pavlina
Telerik team
 answered on 29 Apr 2010
1 answer
102 views
Greetings. Please forgive if this is not the correct place to post. I am NOT the developer, just the network admin, and am getting this issue second hand from the developer. Below is his email to me explaining the situation.

This relates to two different machines. One is a 32 bit Windows machine we use for development.  The other is a 64 bit windows server running IIS 7 that is our web server. 

Is there something that has to happen to allow IIS to work with Telerik?

If you require more information please ask. We are new to Telerik and this forum. Thanks in advance for your patience.

From Developer::::
The issue with Telerik fileupload:
The control works fine from the development environment (Running in debug mode) but when deployed to IIS 7 the control will show and allow you to select the file but as soon as you click the submit button it will throw an exception. I can't see the exception but it looks like 404 can't locate the resource.
Genady Sergeev
Telerik team
 answered on 29 Apr 2010
1 answer
43 views
I have a radgrid inside the radwindow, which is shown at the bottom of the long (vertical) page. After I've fired the insert command, the MAIN page, not the window, is beeing scrolled to the top. In Internet Explorer there is all ok, but in firefox - is not. Ajax for this grid is enabled.
Pavlina
Telerik team
 answered on 29 Apr 2010
6 answers
164 views
Hi All,

Have a grid which works fine.

In the PagerSyle have set Mode="Slider". but the "Page:1 out of 1 pages" appears in the next line.

How to make it to display in the same line.

-Anto
Dimo
Telerik team
 answered on 29 Apr 2010
1 answer
71 views
I have a rad editor, and I use the template manager within it to help Product Writers write significant information in a short period of time. I'm using the recent version of the editor. When I add a template which contains HTML tables, and want to upper-left justify the left column, I right click on the table and go to "Cell Properties". I use the "ctrl" key to highlight all cells on the left hand side of the table (two column table). Select the alignment drop down, and change it to upper-left justification. After I click OK, it moves the ending strong tag from before the table definition, to after the table definition, making the whole table enveloped in a strong tag, making everything on the right side of the table, bold text. I know that it's because of the break points before the strong tag, because when I take them out, it stays in the same place. Can you answer the question of how come the </STRONG> tag moves? We never highlight above the table as we're using the table manager. When you highlight text, it might enclose break points inside of whatever text you're manipulating, which is how this became a problem.

-- Template
<P><FONT style="FONT-SIZE: 14px" color=#007dca><STRONG>Title of Object</STRONG></FONT><BR>Description of Object.<BR><BR><STRONG><FONT color=#007dca>Title of Object again for reference</FONT><BR><BR></STRONG
<TABLE> 
<TBODY> 
<TR> 
<TD style="WIDTH: 250px"
<UL class=ulolProdDesc
<LI><STRONG>Title 1</STRONG></LI></UL></TD
<TD>Desc 1</TD></TR
<TR> 
<TD style="WIDTH: 250px"
<UL class=ulolProdDesc
<LI><STRONG>Title 2</STRONG></LI></UL></TD
<TD>Desc 2</TD></TR
<TR> 
<TD style="WIDTH: 250px"
<UL class=ulolProdDesc
<LI><STRONG>Title 3</STRONG></LI></UL></TD
<TD>Desc 3</TD></TR
<TR> 
<TD style="WIDTH: 250px"
<UL class=ulolProdDesc
<LI><STRONG>Title 4</STRONG></LI></UL></TD
<TD>Desc 4</TD></TR
</TBODY></TABLE></P> 

Stanimir
Telerik team
 answered on 29 Apr 2010
1 answer
86 views
Hi, I am trying to add a new field (specifically a text box along with an associated  label) to the Node Inspector module and retreive the value of that text box in the code behind page.  Is there a way to do this??  (btw I have searched the forum(s) but could not find a way to do it)

Thanks.
Stanimir
Telerik team
 answered on 29 Apr 2010
1 answer
159 views
Dear telerik team
I use RadcomboBox and RadAjaxManager. RadcomboBox SelectedIndexChanged event. There is a problem if RadcomboBox RadAjaxManager using the commands in the SelectedIndexChanged method is not implemented correctly. And if you do not use RadAjaxManager, then use normally.
I started the project attached for your reference and help me solve the problem.
Sincerely

File :
http://www.mediafire.com/file/nb3gj4mytqz/AjaxTest.rar
Yana
Telerik team
 answered on 29 Apr 2010
1 answer
94 views
Hi,

I am using a RadGrid control in an radAjaxManager in a DNN environment.
The grid is databound to a DataSet.

The grids guts are similar to the cardview in the RadGrid examples which uses a Masterview and an Itemtemplate.

Here is the problem:
The pager mode is set to "NextPrevAndNumeric" and everything is working dandy...except when using the Prev and Next options.
It appears that they only recognize the first 2 pages no matter what the page size.

I can select the page number and get the correct page but, clicking the next or previous does not not behave as expected.
I can get the previous and next options to work properly if I set teh enableSEOPageing to true. However, this kills my PageSize from sticking as you page through the grids pages and so has been discarded in teh example.

Here is the markup:


                                <strong>TEST GRID</strong></p>  
                            <telerik:RadGrid ID="RadGrid3"  AllowPaging="True" OnNeedDataSource="RadGrid3_NeedDataSource"   
                                runat="server" GridLines="None" Width="100%" EnableViewState="true">  
                                <PagerStyle Position="TopAndBottom" AlwaysVisible="true" ShowPagerText="true" Mode="NextPrevAndNumeric"  ></PagerStyle>  
                                <MasterTableView ShowHeader="false" AllowPaging="True"  > 
                                    <ItemTemplate> 
                                        <asp:Panel runat="server" ID="ItemContainer" style="width: 645px;">  
                                            <table style="width: 645px;">  
                                                <tr> 
                                                    <td valign="top" class="style8" colspan="4">  
                                                        <asp:HyperLink runat="server" ID="HyperLink3" Text='<%#Eval("Product")%>' Font-Bold="True" 
                                                            NavigateUrl='<%#Eval("Url")%>' ToolTip="View Product"></asp:HyperLink> 
                                                    </td> 
                                                    <br /> 
                                                </tr> 
                                                <tr> 
                                                    <td width="25%" align="center">  
                                                        <asp:HyperLink ID="HyperLink2" runat="server" Text="" NavigateUrl='<%#Eval("Url")%>'>  
                                                            <asp:Image ID="rdlImage" BorderStyle="Solid" BorderColor="#8b847e" BorderWidth="1" 
                                                                runat="server" ImageUrl='<%# Eval("ImageUrl")%>' ToolTip="View Product" /></asp:HyperLink> 
                                                    </td> 
                                                    <td class="style9">  
                                                        <label style="font-family: Arial; font-size: 8pt">  
                                                            <b>Manufactuer:</b> 
                                                            <%#Eval("Manufacturer")%></label><br /> 
                                                        <label id="PNum" style="font-family: Arial; font-size: 8pt">  
                                                            <b>Part Number:</b> 
                                                            <%#Eval("Part Number")%></label><br /> 
                                                        <label style="font-family: Arial; font-size: 8pt">  
                                                            <b>Manfacturer Part Number:</b> 
                                                            <%#Eval("Man Part Number")%></label><br /> 
                                                        <label style="font-family: Arial; font-size: 8pt">  
                                                            <b>Description:</b> 
                                                            <%#Eval("Description")%></label>  
                                                    </td> 
                                                    <td valign="middle" align="center">  
                                                        <asp:Panel ID="pnlPrice" runat="server">  
                                                        </asp:Panel> 
                                                        <br /> 
                                                        <div style="border-width: 1px; border-style: dotted; background-color: #E2E2E2; text-align: center;  
                                                            width: 100px;"> 
                                                            <asp:HyperLink runat="server" ID="lViewProduct" Text=" View Product " Font-Bold="True" 
                                                                NavigateUrl='<%#Eval("Url")%>'></asp:HyperLink> 
                                                        </div> 
                                                        <br /> 
                                                        <div id="divAddToCart" runat="server">  
                                                            <class="jsaddtocart" href='<%# ConstructAddToCartURL(Eval("ProductID"),Eval("VariantID")) %>'>  
                                                                <span class="jshideme">Add to cart</span></a><p> 
                                                                </p> 
                                                        </div> 
                                                    </td> 
                                                </tr> 
                                          </table>   
                                        </asp:Panel> 
                                    </ItemTemplate> 
                                </MasterTableView> 
                            </telerik:RadGrid> 

Thanks in advance!
Martin
Telerik team
 answered on 29 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?