Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Can anyone tell me why I can't find any control inside an RadToolBarButton ItemTemplate besides a Telerik Control?

Here is my markup.
        <telerik:RadToolBarButton runat="server" Group="Filtering" Text="Filter Options" Value="Filter Options">  
            <ItemTemplate>  
                <div style="
                padding-left:10px; padding-right:10px; padding-top:8px;">  
                    <asp:Label ID="lblFilterName" runat="server" Text="Filter: "></asp:Label>  
                    <telerik:RadComboBox  
                        ID="comboFilterList" 
                        runat="server" 
                        AllowCustomText="true" 
                        EmptyMessage="[Enter a Filter Name...]" AutoPostBack="False" OnClientKeyPressing="clientKeyPressing"></telerik:RadComboBox>  
                    <asp:ImageButton ID="btnRun" runat="server" ImageUrl="~/Images/Regular/16x16/Symbol Green/Symbol Green Play.png" ToolTip="Run the grid filter now." />  
                    <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Disabled/16x16/Symbol Green/Symbol Green Configuration.png" ToolTip="Save Filter: enter a filter name in the textbox to enable this button." />  
                    <asp:ImageButton ID="btnDelete" runat="server" ImageUrl="~/Images/Disabled/16x16/Symbol Green/Symbol Green Delete.png" ToolTip="Delete Filter: select a filter from the dropdown list to enable this button." />  
                </div>  
            </ItemTemplate>  
        </telerik:RadToolBarButton>  
 

Here is my JavaScript Code.  The only control it finds is the RadComboBox
    function clientKeyPressing(sender) {  
        var txt = sender.get_text();  
        var toolbar1 = $find("<%= RadToolBar1.ClientID %>");  
        var filterbutton1 = toolbar1.findItemByValue("Filter Options");  
        var btnRun = filterbutton1.findControl("btnRun");  
        var btnSave = filterbutton1.findControl("btnSave");  
        var btnDelete = filterbutton1.findControl("btnDelete");  
        var combo = filterbutton1.findControl("comboFilterList");  
    }  
 
Atanas Korchev
Telerik team
 answered on 04 Jun 2009
1 answer
130 views
Hi everyone,


i'm using grid control, version Q4 2006 SP2, and i'm trying to allow users to select multi-rows by clicking on them.

The problem is that everytime the user clicks on a row, he de-selects the other.


Is there any workaround to simulate the CTRL key is being pressed?


Maybe this is a stupid question.....



Thanks anyway,

Nuno Santos
Portugal, Lisboa
Pavlina
Telerik team
 answered on 04 Jun 2009
2 answers
193 views
hello all i have a problem in my project and i asked the question in the grid forum but i am not sure what is causing the problem!!! i have a radgrid with one column acting likt a command column..in the command event handler a read some values from the grid..store them in session state and open a radwindow linking me to another page....i stored the values in session state since these values will be used in the operation of the other  page now whenever i close the window and try doing something in my project that causes a post back i will get a jscript runtime error stating that: 

sys.webforms.pagerequestmanagerserverexception: failed to load viewstate the control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. for example when adding the controls dynamically, the controls added during the post-back must match the type and position of the controls added during the initial request





now what did i do wrong!!! thanks in advance guys
ibrahim
Top achievements
Rank 1
 answered on 04 Jun 2009
1 answer
77 views
On an iPhone or even if I just resize Firefox to have a very narrow window, menu that are supposed to expand to the right are instead expanding to the left and going off of the screen. I have set DefaultGroupSettings-ExpandDirection="Right" but that does not seem to make any difference. Is there a way to fix this?
Atanas Korchev
Telerik team
 answered on 04 Jun 2009
1 answer
86 views
Hi telerik team,

i have alignment issue in grid when i use scrolling .header seperator and item seperator are not uniform slight distortion coming
For example

Header1   |   Header 2   |    header 3 |       small header for scroll
------------------------------------------------------------
Item1            |     item2       |         Item 3   |
Item1            |     item2       |         Item 3   |

and horizontal scroll unnecesarily coming 
i follwed below url
http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx
i tried assigning width 100% for grid  and MasterTableView.
 Each header width 30%  and item style width 29% even not solved ..

Thanks for any quick help.
Pavlina
Telerik team
 answered on 04 Jun 2009
5 answers
207 views
Hi,

I am using the RadFileExplorer, and would like to know if the ViewPath, UploadPath, InitialPath can take a UNC, such as a network path.

Another problem is around the same issue. With the RadEditor, I would like to set the paths within the ImageManager to a folder within a MOSS site. Is it possible??

Thanks,
Vincent

Lini
Telerik team
 answered on 04 Jun 2009
1 answer
83 views
Hi,

We have an application with a number of RadComboBoxes, in which we have bound images, and these have been working fine.

We have just upgraded from Q1 2008 to Q1 2009 versions (got a bit left behind as we only just realised we needed to subscribe to continue getting bug fixes).

Snce upgrading, the users can o longer select an item by clicking on the image. As the image is the most obvious thing to click on, I can see that this would become an issue.  Is this a bug or a feature? Is there a workaround?

I have tried setting the OnClick event of the image, but then I guess that code would have to figure out which item has been clicked on, and select the item in th combo box, whichseems like a long way around the houses to get back to the way things were.

An example of a typical combo box on one of our pages is:

 

<Telerik:RadAjaxPanel ID="rapBadgeColour" runat="server" EnableAJAX="true" >

 

 

<Telerik:RadComboBox ID="rcbBadgeColour" runat="server" DataTextField="Description" DataValueField="BadgeColour" Skin="Vista" MarkFirstMatch="True" Width="250px" AutoPostBack="true" HighlightTemplatedItems="True" OnSelectedIndexChanged="DoElementChanged">

 

 

<ItemTemplate>

 

 

<table style="border-bottom: 1px dotted #EFEFEF; margin-bottom: 10px; font-size: 11px;" width="98%">

 

 

<tr>

 

 

<td>

 

 

<asp:ImageButton ID="imgImage" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "img") %>' AlternateText='<%# DataBinder.Eval(Container.DataItem, "Description") %>'  />

 

 

</td>

 

 

<td>

 

<%

# DataBinder.Eval(Container.DataItem, "Description") %>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</ItemTemplate>

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</Telerik:RadComboBox>

 

 

</Telerik:RadAjaxPanel>

Thanks

Rob

 

Rob
Top achievements
Rank 1
 answered on 04 Jun 2009
1 answer
170 views

I am setting the property EmptyMessage at design time:

<telerik:RadTextBox ID="txtSearch" Runat="server" MaxLength="50" Width="100%" EmptyMessage="Enter search criteria here" CssClass="searchTextBox" />

 

The text "Enter search criteria here" is displayed when the textbox does not have focus and gets hidden when getting focus. So far behaving as expected. Now, if I press ESC twice while the textbox has focus, the text is displayed and becomes editable. Also, if there is text, pressing ESC once deletes the entered text.

Regards.

Nikolay Rusev
Telerik team
 answered on 04 Jun 2009
1 answer
150 views
I am using web20 skin in the Grid. I have set the alternate color using

AlternatingItemStyle-BackColor. After settting this property I cannot see the row selection color for the alternate rows. It looks like the

 

AlternatingItemStyle-BackColor is overriding the row selection color. It looks like a bug. Is there any workaround to fix this.

 

 

 

 


 

 

Shinu
Top achievements
Rank 2
 answered on 04 Jun 2009
5 answers
101 views
Hi i want to change the colour of the panels in a modal window to web blue like the skin on the windows how do i do this
Martin
Telerik team
 answered on 04 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?