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

I have added a GridTemplateColumn to display email address as follows
 <telerik:GridTemplateColumn HeaderText="Email Address" ItemStyle-Width="100px" FilterControlWidth="100px"
                                SortExpression="Email_Address" UniqueName="EmailAddress" ShowSortIcon="true" AllowFiltering="true">
                                <ItemTemplate>
                                    <a onclick="viewVirtualContact(<%#Eval("contact_id")%>,<%#Eval("isvirtualcontact")%>)">
                                        <%# Eval("Email_Address") %></a>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>

When I try to apply any filter, filteration does not work properly.
Please suggest on this.

Tnanks
Bharat Bhushna
Princy
Top achievements
Rank 2
 answered on 28 Jan 2014
1 answer
311 views
how to get the selected value of Drop down tree client said event [without check box and Auto post back]
Shinu
Top achievements
Rank 2
 answered on 28 Jan 2014
1 answer
167 views
I'm experiencing a problem where my code calls the rebind method, and this throws an exception for a reason I cannot figure out.

The exception it throws is: " System.Data.DataRowView' does not contain a property with the name 'post_flag' " It throws this error even when it does not delete the cell and simply rebinds it.

Here are the attributes of the grid:
            <telerik:RadGrid ID="_ExpGrid" runat="server" AllowPaging="True" PageSize="15" AutoGenerateColumns="false"
            Width="1700px" CellSpacing="4" Skin="Web20" OnItemCreated="_ExpGrid_ItemCreated" AllowSorting="true"
            OnDeleteCommand="_ExpGrid_DeletedCommand" OnPageIndexChanged="_ExpGrid_SelectedIndexChanged">

Here is the delete method:

if (IsPostBack)
                {
                    Service.ServiceClient client = new Service.ServiceClient(ConfigurationManager.AppSettings["ServiceBinding"]);

                    GridDataItem dataItem = (GridDataItem)e.Item;
                    int id = Convert.ToInt32(dataItem.GetDataKeyValue("Expense_ID"));
                    client.DeleteTrans(id);
                    _ExpGrid.Rebind();
                }

This is the line that throws an exception:
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Convert.ToBoolean(Eval("POST_FLAG")) %>' Enabled="false" />

      






John
Top achievements
Rank 1
 answered on 27 Jan 2014
3 answers
150 views
hi I have code like that


                    <telerik:RadButton ID="RadButton3" runat="server" GroupName="OverSampling"
                                           Text="" ButtonType="ToggleButton" ToggleType="Radio" Checked="false" AutoPostBack="false" >
                            <ToggleStates>
                                <telerik:RadButtonToggleState Text="Yes"  SecondaryIconUrl="images/radio6-on.png" />
                                <telerik:RadButtonToggleState Text="Yes" SecondaryIconUrl="images/radio6-off.png" />
                            </ToggleStates>
                        </telerik:RadButton>

                        <telerik:RadButton ID="RadButton4" runat="server" GroupName="OverSampling"
                                           Text="No" ButtonType="ToggleButton" ToggleType="Radio" AutoPostBack="false" >
                            <ToggleStates>
                                <telerik:RadButtonToggleState PrimaryIconUrl="images/radio6-on.png" />
                                <telerik:RadButtonToggleState PrimaryIconUrl="images/radio6-off.png" />
                            </ToggleStates>
                        </telerik:RadButton>

If I use PrimaryIconUrl, page doesn't show in my page. But if I use SecondaryIconUrl page show icon but right side. I want put icon left side of text but PrimaryIconUrl doesn't work. No image shown if I use PrimaryIconUrl.

How can I fix it?


Danail Vasilev
Telerik team
 answered on 27 Jan 2014
13 answers
225 views
Salam Dears,

I have create a scheduler control in a user control for sharpoint web part and every thing is fine but i cant dragging the apporintment to change the date or time of it any help please i have been searching on this issue sice 2 days with no success

thanx and regards.
Boyan Dimitrov
Telerik team
 answered on 27 Jan 2014
8 answers
179 views
Hi,

I have a ASP.NET page with a RadScheduler on it.
The page references a user control for the menu on the top of the page. The user control does not have an AjaxManager on it.

I have a RadAjaxManager on the main page.

When the page loads and you click on a calendar appointment the advancededitform appears correctly.
But if you try to cancel out of the AdvancedEditForm the LoadingPanel freezes. 

I have another page in the application that uses a RadScheduler and it works fine. But that page does not reference any user controls.

If I set EnableAjax=false for this RadAjaxManager everything works fine.

In the Chrome debugger I get his error while the loading panel is freezing.
Uncaught TypeError: Cannot read property 'parentNode' of undefined.

Any ideas what would cause this?

Thanks,

Kevin
Plamen
Telerik team
 answered on 27 Jan 2014
1 answer
57 views


When
I attempt to access the on-line demos for the various product located at
demos.telerik.com are either not responding at al and timeout or take a long
time to respond. In particular, the demo for the dock controls does not work at
all. I need to access this information as I am working on a project using this
control.



The same thing happens when I place a control on a page, right mouse click on the
control and attempt to navigate to the specific control demo. The information
in the demos is helpful (more that the help files) .



My customer ID is EU1330672.



Rick

Slav
Telerik team
 answered on 27 Jan 2014
3 answers
140 views

Hi.
I have radtreeview1 (CheckBoxes=true, CheckChildNodes=true, TriStateCheckBoxes=true) and  I am filtering an OpenAccessLinqDataSource with this radtreeview1.SelectedValue.

But there are multiple selected value of radtreeview and this give me an error.

How can i filter to OpenAccessLinqDataSource with control.SelectedValue (multiple value).

Error is something like that : system.web.query.dynamic.parseexception: '==' operator incompatible with operand types 'int32?' and 'object' .
Thanks.
Plamen
Telerik team
 answered on 27 Jan 2014
1 answer
112 views
Having issue with editor I need to remove the AboutEditor tool from that how to that in aspx or server side any suggestions plz


Regards 
Suman
Marin Bratanov
Telerik team
 answered on 27 Jan 2014
1 answer
84 views
I have a problem were the splitter doesn't render properly when BorderSize = 0

At the bottom of this post is how I want the code to be.

I have set BorderSize="0" to get rid of the borders and I have OnClientLoaded calling javascript function SplitterLoaded so that the Height of the Splitter is equal to the content.

when the page loads, its fine. when I change the size of the browser though (without reloading the page), the Splitter completely disappears - apart from the button that does the collapsing of the panels.

When I remove the BorderSize="0" tag, it works fine.
so I can change the size of the browser by double-clicking the top of the browser window so that it makes the window slightly smaller, or I can start with the window smaller (not filling the full screen) and then drag from the edges of the browser to make it bigger/smaller.

both ways will result in the Splitter not showing properly
<div id="content">
 
 
                   <telerik:RadSplitter BorderSize="0" OnClientLoaded="SplitterLoaded"   VisibleDuringInit="false"  ID="RadSplitter2" Width="100%" Height="100%" runat="server" Orientation="Vertical">
                       <telerik:RadPane ID="pane1" runat="server" Width="120px"
                           Scrolling="None">
                           <div class="sidebar">
                               <comx:VMenu ID="VMenu" runat="server" />
                           </div>
                       </telerik:RadPane>
                       <telerik:RadSplitBar EnableResize="false" CollapseMode="Forward" ID="RadSplitBar1" runat="server">
                       </telerik:RadSplitBar>
                       <telerik:RadPane ID="pane2" runat="server" >
         
                               <div class="workingarea_splitter">
                                   <comx:Menubar ID="MenuBar" runat="server" />
                                   <asp:Label ID="lblItemName" runat="server" CssClass="itemname" />
                                   <asp:Label ID="lblError" runat="server" CssClass="invisible" />
                                   <asp:ContentPlaceHolder ID="Content" runat="server" />
                               </div>
        
                       </telerik:RadPane>
                   </telerik:RadSplitter>
 
 
               </div>


function SplitterLoaded(splitter, arg) {
    var pane = splitter.getPaneById('<%= pane2.ClientID %>');
    var height = pane.getContentElement().scrollHeight;
    splitter.set_height(splitter.get_height() - pane.get_height() + height);
    pane.set_height(height);
    }


David
Top achievements
Rank 1
 answered on 27 Jan 2014
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?