Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
I searched around for an answer to this and the most closely related answer said that default properties were handled by the skin manager but did not show how to do it.  I am wondering if there is a way that I can set default values for controls.  Say that all inputs in my project should have a width of 100px .  Could I define that RadTextBoxes, RadComboBoxes, etc. should have 100px by default if not explicitly set on my markup?  Possibly in the webconfig file?
Ryan
Top achievements
Rank 1
 answered on 24 May 2013
2 answers
75 views
Dear All,

We are using the Rad Combo Box in our application. on click, It shows the cursor in the combobox which looks as if it is editable combo to the end user. Kindly guide me to remove/avoid cursor from the Rad Combo box.

With Regards
L.Palanivelrajan

Palanivelrajan
Top achievements
Rank 1
 answered on 24 May 2013
2 answers
131 views
I am using RadWindow for session expiration pop-up notification. It called when there is no activity on web page for some period.
Sometimes it is displayed partially (missing borders, title bar). 
It seems that that the issue mostly occurred when browser window is on background or minimized. 
On the attached picture you can see normal appearance of the popup, and with broken UI  

Could you please help me?
 
Here is client-side to activate “session expired” pop-up.
function SessionExpired() {
 
var oManager = GetRadWindowManager();
oManager.closeAll();
var requestString = "<%= ResolveClientUrl("~/SessionExpired.aspx") %>";
var oWnd = window.radopen(requestString, "SessionExpired");
oWnd.set_modal(true); 
oWnd.setSize(513, 230);
oWnd.center();
oWnd.add_close(OnClientCloseSession);
                 
}
Ruben Markosyan
Top achievements
Rank 1
 answered on 24 May 2013
4 answers
169 views
Hi,

I had enabled HeaderContextFilterMenu in a radgrid and added edittemplate for one of the editable column. However, the filter is not working with this column though it works in case of default radfilter (without HeaderContextFilterMenu)

 Attached is the RadGridFilter sanpshot for your reference.

Regards,
Preeti
Preeti
Top achievements
Rank 1
 answered on 24 May 2013
1 answer
75 views
Hi
    How can I get the row index of the selected row. thanks in advance
Allen
Shinu
Top achievements
Rank 2
 answered on 24 May 2013
4 answers
114 views
I have a page where I am dynamically creating comboboxes and in chrome they do not open smoothly the first time.  I looked at combos from the demo page and they are fine.

Any suggestions?

Marty
moegal
Top achievements
Rank 1
 answered on 24 May 2013
13 answers
330 views
Hi telerik community,

I've been working on an interesting issue regarding the RadComboBox and the autocomplete feature. My problem is, when a user copy paste a value in the input field instead of typing it, the OnItemsRequested won't get fired and will cause my page to fail because, in my scenario, I need to get the value associate with the text entry.

Just to make it clear, it works like a charm when the user type his search.

Here's my implementation of the RadComboBox
<telerik:RadComboBox ID="contractNumber" runat="server" Width="165px" Height="150px"
     CssClass="form"
    AllowCustomText="true"
    MarkFirstMatch="true"
    EmptyMessage="Search (5 characters min)*"
    EnableLoadOnDemand="true"
    EnableItemCaching="true"
    IsCaseSensitive="false"
    MinFilterLength="5"
    EnableOverlay="true"
    OnItemsRequested="ContractNumber_ItemRequested"
    DataTextField="Key"
    OnClientBlur=""
    DataValueField="Value">
</telerik:RadComboBox>

Now, this ComboBox is located in a pop-up. When I click my OK button there's some javascript going on
function returnToParent()
{
    //create the argument that will be returned to the parent page
    var oArg = new Object();
 
    if ($find("<%= contractNumber.ClientID %>").get_value())
        oArg.contractNumber = $find("<%= contractNumber.ClientID %>").get_value();
 
    //Close the RadWindow and send the argument to the parent page
    if (oArg.contractNumber)
    {
        var oWnd = GetRadWindow();
        oWnd.close(oArg);
    }
    else
        alert("Please provide a contract number or a system ID");
}

As you can see, if my RadComboBox doesn't fire the ItemRequested event when a user paste some text in it (which is the source of the problem here), the get_value() will always return null, and that's the bad thing.

So how can I get this feature working without having to ask the user to focus-out/focus-in or delete a character and retype it to fire the event.

As always, thanks in advance for your Advises

ND
Hristo Valyavicharski
Telerik team
 answered on 24 May 2013
1 answer
83 views
Hi,

I have a combobox that when it has an item selected I want to go back and select the down arrow and bring up the list of the items in the combobox but keep the selected item until I select a new one. I managed to do it, but I am not sure why it when I first select the combobox dow arrow it brings up only that one item selected and when I click on the down arrow again it does bring up the full list. Please see the attached image to what is goign on. Here is my javascript and aspx:

<telerik:radcombobox ID="cboDocs" runat="server"  MarkFirstMatch="False" EnableAutomaticLoadOnDemand="True" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
                    DataSourceID="ObjDataSourc" Width="200px"  EmptyMessage="Select Document" DataTextField="DocName" 
                    OnClientDropDownOpening="dropDownOpening" ToolTip="Select an existing document type to review."
                    DataValueField="DocID"  ItemsPerRequest="12"  Skin="Office2010Blue" AutoPostBack="true"> 

<
function dropDownOpening(sender, args) {
               if (sender.get_text() != "") {
                   sender.set_text(sender.get_text());
                   sender._filterText = "NotIsEmpty";
                   sender.requestItems("");
                   sender.get_items("");
               }
           }
>
Plamen
Telerik team
 answered on 24 May 2013
3 answers
101 views
Hi. i have a telerik grid like below.

 <telerik:RadGrid Skin="Windows7" ID="grdRubrikOgrencileri" EnableEmbeddedScripts="true" 
                runat="server" Width="84%"  ShowStatusBar="true"  Visible="true" 
                AutoGenerateColumns="False" style = "float:right;" 
                PageSize="1000" AllowSorting="True"
                OnDataBound="grdRubrikOgrencileri_DataBound"
                OnNeedDataSource="grdRubrikOgrencileri_NeedDataSource"
                GridLines="None">
                <PagerStyle Mode="NumericPages"></PagerStyle>
                <MasterTableView Width="100%" DataKeyNames="DegTipIliskiID" ForeColor="Maroon" AllowMultiColumnSorting="True" HierarchyDefaultExpanded="true" CommandItemStyle-HorizontalAlign="Justify" FilterItemStyle-HorizontalAlign="Center">
                <Columns>
                <telerik:GridBoundColumn SortExpression="DegTipIliskiID" HeaderText="DegTipIliskiID"
                            Visible="false" DataField="DegTipIliskiID">
                 </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn SortExpression="DegerlendirmeTipiID" HeaderText="DegerlendirmeTipiID"
                            Visible="false" DataField="DegerlendirmeTipiID">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn SortExpression="DegerlendirmeTipi" HeaderText="DegerlendirmeTipi"
                            DataField="DegerlendirmeTipi">
                        </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
       </telerik:RadGrid>

Now, I want to add two detailstables inside to this grid as dynamically.  How can I achieve this? Can someone give me an idea?

I added a photo about what i want to do. If you look at photo, there is a red bordered part. This part must load dynamically. This is what i try to do. 

Thanks in avance.
Eyup
Telerik team
 answered on 24 May 2013
6 answers
839 views
Hi,
I need to set Background Color to RadNumeric Text Box.




Thanks
Princy
Top achievements
Rank 2
 answered on 24 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?