Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
Hi,
I am using following script for multi selection in radcombo
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select Countries"
              AllowCustomText="true" MarkFirstMatch="true" HighlightTemplatedItems="true" Width="150px"
              OnClientDropDownClosed="onDropDownClosing">
              <ItemTemplate>
                  <div onclick="StopPropagation(event)" class="combo-item-template">
                <asp:CheckBox runat="server" ID="chk1" Text='<%# Eval("Country") %>' onclick="onToCheckBoxClick(this,'')"/>
                      
                  </div>
              </ItemTemplate>
          </telerik:RadComboBox>
and javascript is as follows:
function onToCheckBoxClick(chk, temp) {
            
            var show = document.getElementById(temp);
            var combo = $find("<%= RadComboBox1.ClientID %>");
            
            cancelDropDownClosing = true;
            var text = "";
            var values = "";
            var items = combo.get_items();
            for (var i = 0; i < items.get_count(); i++) {
                var item = items.getItem(i);
                var chk1 = $get(combo.get_id() + "_i" + i + "_chk1");
                if (chk1.checked) {
                    text += item.get_text() + ";";
                    values += item.get_value() + ";";
                }
            }
 
            text = removeLastComma(text);
            values = removeLastComma(values);
 
          
        }
 
        var cancelDropDownClosing = false;
 
        function StopPropagation(e) {
            e.cancelBubble = true;
            if (e.stopPropagation) {
                e.stopPropagation();
            }
        }
 
        function onDropDownClosing() {
            cancelDropDownClosing = false;
        }
        function removeLastComma(str) {
            return str.replace(/;$/, "");
        }

From above code I am able to select multiple values but the selected values are not appearing drop down as a semicolon separated string.
what I am missing in the code can any one help?

Thanks,
Ram.
Helen
Telerik team
 answered on 28 Dec 2012
1 answer
90 views
Hi,

I was trying to provide a UI look and feel like SharePoint 2010. On the top-right of the RibbonBar, can we add controls like Generic Search control, Dropdown for login / logout?


Regards,
Kajal
Boyan Dimitrov
Telerik team
 answered on 28 Dec 2012
17 answers
203 views
Hello

I want to use telerik radcalender to show the one row and four columns to show
four days at time insted of full month to give nice information of days to client, 
so his functionality to adjust the exception of that day will improve and fast.


so please give me suggestion ,solution or any helpful example.

thanks and regard
Amit
Princy
Top achievements
Rank 2
 answered on 28 Dec 2012
1 answer
140 views
Hi

I am adding hyperlink in column of mastertable based on certain condition inside itemdatabound event. Same grid has detail table, when I am trying to get detail table data - data is coming properly and getting bind as expected but only hyperlink in master table is disappearing. Please guide me how to retain hyperlink while loading detail table. I m developing in Vb.net.

thanks,
Pradip
Shinu
Top achievements
Rank 2
 answered on 28 Dec 2012
3 answers
93 views
hi,
I would like that even after selecting an item, when I click on radcombobox I appeared throughout the item list also .. but after setting the filter property in StartsWith, every time I load I want to change the selected item, I must first delete the selected item so that I can look through the list .... There is a procedure that ancestral delete the selected item but also to view the entire list of items loaded into radcombo?

my code is:
<telerik:RadComboBox ID="Regione" Runat="server" CollapseDelay="100"
EnableLoadOnDemand="True" HighlightTemplatedItems="True" IsCaseSensitive="True"
LoadingMessage="Loading..." DropDownWidth="160px" Filter="StartsWith" Width="160px"
MaxHeight="175px" ShowMoreResultsBox="True" Height="175px" OnClientItemsRequesting="OnClientItemsRequesting"
AutoPostBack="True" OnSelectedIndexChanged="Regione_SelectedIndexChanged" OnClientItemsRequested="OnClientItemsRequested"
EmptyMessage="Select region" Skin="Sunset">
</telerik:RadComboBox>
Dimitar Terziev
Telerik team
 answered on 28 Dec 2012
1 answer
174 views
Hi guys, Refer to the http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/grouploadmodeclient/defaultvb.aspx?#qsf-demo-source,
it allow column to drag and drop to group and ungroup. In my case, I do not want drag and drop, I want to group the country and city column at the page load. How do I achieved that. Please help. thanks
Princy
Top achievements
Rank 2
 answered on 28 Dec 2012
12 answers
806 views
hi

i use the following Method for retreiving the fields from the edit form (Which is Auto Generated)

 

void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)  
{  
GridEditFormItem Data = (GridEditFormItem)e.Item;  
Hashtable ht = new Hashtable();  
Data.ExtractValues(ht);  

the problem i am having is that i have several readonly/hidden fields in the grid , but this method does not return those fields , only the ones visible to the user ,

currently there are 5 fields on the screen that the user can edit , and about 3-4 that are non editable , but i need the values from them to be able to do the update on the database.

the above method will only return the visible items.

what method can be used to get the edited items as well as the readonly items from the row etc.

many thanks

Peter.

Vasil
Telerik team
 answered on 28 Dec 2012
9 answers
147 views
Hi 

Creating a new thread for my problem as the earlier thread might have been closed. Please review me and let me know if you come up with any suitable solution for me.
http://www.telerik.com/community/forums/aspnet-ajax/menu/context-menu-on-mobile-devices.aspx#2305882 

Thanks
Ivan Zhekov
Telerik team
 answered on 28 Dec 2012
1 answer
147 views
Hi,
How do we load some specific PDF/doc files from server into FileExplorer and user can download into their machine?

and i could not load files from shared folder on  the server.
my server path is "\\srvname\Z_Drive\docs"
           
string[] paths = new string[] {@"\\srvname\Z_Drive\docs" };   
 RadFileExplorer1.Configuration.ViewPaths = paths;


but nothing show up on the FileExplorer 

here is what i am trying to implement using FileExplorer .
i want to show some list of PDF/DOC/XLS files from server into FileExplorer and user able to download all the files or some of the files into their local machine(no upload, no delete, no view nothing).  Just download the files from the server.

how could achieve this one? (if not possible using FileExplorer please suggest me some other telerik control)

thanks
Vessy
Telerik team
 answered on 28 Dec 2012
8 answers
151 views

We have developed the application on Windows 7 and it comes by default with IE 8. We tested the application first time on IE 7 and all the look and feel changed completely.

 The grid is not being displayed properly, it's all distorted

Please advise asap

erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 28 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?