Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views

Hi,

 I am using Grid component with paging, in ASP.NET MVC2 application, but on page change, all site had been reloaded. I am not using any custom handler, only defaults.

What is the problem here?

Thanks,
Edgar

Iana Tsolova
Telerik team
 answered on 03 May 2011
1 answer
63 views
Can you please help on find a Custom drop down in side a edittool of a  rad editor ?
Rumen
Telerik team
 answered on 03 May 2011
1 answer
54 views
I currently develop using Visual Studio 2005 (ya i know - upgrade... but I can't right now). But I need to make use of some of the IE9 enhancements that are in the latest build.
How can I remain on VS 2005 and use the new version?
Can I stay on ASP.NET 2.0?

Please advise...

Thanks,

Dana Cobb
Biliana Ficheva
Telerik team
 answered on 03 May 2011
1 answer
55 views
Hi,

We are using RadGrid with built in skin, WebBlue and also tried default but we are facing issue that RadGrid do not show Header Row with CommandItemDisplay=Top or CommandItemDisplay=TopAndBottom in Mozila FireFox FF. It is working fine in IE 8.
and it is even working fine with CommandItemDisplay=Bottom.
We are using following version of Telerik.Web.UI.dll: 2010.3.1317.40

Thanks
Pavel
Telerik team
 answered on 03 May 2011
1 answer
179 views
Hi,
i need to allow user to filter column only if the input for filter is greater then 3 character, can i do this ?
Shinu
Top achievements
Rank 2
 answered on 03 May 2011
4 answers
87 views
hi

I have a DateInput and i have the date format set to dd/MM/yyyy. I have also keyed in a date as 16/09/1970 and my table field DateOfBirth is of Date dataype in MSSQL.

But it just kept giving me this error "String was not recognized as a valid DateTime."

What is wrong? thanks
L
Top achievements
Rank 1
 answered on 03 May 2011
4 answers
119 views
Hi,
I'm using RadCombobox Ajax control ,I have 2 combo box the second one fills programmatically on OnClientDropDownOpening event according to the first combo's selected item ,
It works properly but sometimes The  2nd combo dropdownlist become very small and scroll ,Here is my code :
Markup:
<telerik:RadComboBox ID="cmbDescription"  Filter="StartsWith" AllowCustomText="true" 
                                             MaxLength="256" Style="margin-right: 1px"
                                            runat="server" OnClientSelectedIndexChanged="cmbDescription_onClinetSelectedIndexChanged" OnClientDropDownOpening="cmbDescription_OnClientDropDownOpening"  >
                                       
javascript:
function cmbDescription_OnClientDropDownOpening(sender, args) {
    var tempSLRef = grdVoucherItems.get_tempEntity().SLRef;
    if (currentSLRef !== tempSLRef) {
      
            currentSLRef = tempSLRef;
            PageMethods.FetchAllSLStandardDescBySLID(currentSLRef, AjaxFetchAllSLStandardDescSucceeded, OnPageMethodFailed, null);
      
    }
}
function AjaxFetchAllSLStandardDescSucceeded(result, context) {
    lstSlStandardDescs = result;
    cmbDescription.get_items().clear();
    for (var i = 0; i < lstSlStandardDescs.length; i++) {
        var comboItem = new Telerik.Web.UI.RadComboBoxItem();
        comboItem.set_text(lstSlStandardDescs[i].Item1);
        comboItem.set_value(lstSlStandardDescs[i].Item3);
        cmbDescription.trackChanges();
        cmbDescription.get_items().add(comboItem);
        cmbDescription.commitChanges();
        
    }



Hamid
Top achievements
Rank 1
 answered on 03 May 2011
0 answers
30 views
DISREGARD...I found out I am supposed to use the SkinManagerControl and not the Form Decorator.  My bad.
mark baer
Top achievements
Rank 1
 asked on 02 May 2011
13 answers
1.3K+ views
Hi

I would like to set focus to the first row in the radgrid when the page loads so that users can use arrow keys to move up and down as soon as the radgrid loads. I tried the code below on ClientEvent OnGridCreated="setFirstRowActive"

 

 

function

 

setFirstRowActive() {

 

 

var grid = $find("<%= grdCodeLists.ClientID %>");

 

 

var masterTable = grid.get_masterTableView();

 

 

var row;

 

 

 

 

//set first row as active

 

 

 

grid.set_activeRow(masterTable.get_dataItems()[0].get_element());

 

}

 

This only highlights the row but doesn't activiate it i.e. can't use up/down arrow to go up/down the rows. Instead of set_activeRow() i tried using SelectItem as well as set_selected properties but they produce the same results
How can this be achieved from both client and server side

Bill Swartz
Top achievements
Rank 1
 answered on 02 May 2011
2 answers
365 views
Hi all

first of all thanks for reading this thread
I have a small problem when trying to open a RadWindow by clicking on a radmenu, I have this code

 

<script type="text/javascript">
  
  
function MenuOpenWindow(sender, eventArgs)
  
  
//If you open the window by javascript, you will need to
  
  
//cancel the postback event and to execute the javascript:
  
  
  
//Checks which item is clicked
  
  
if (eventArgs.Item.Text == "Change Password")
  
{
  
//open a pre-defined window from the RadWindowManager's
  
  
//Windows collection
  
  
radopen(null,"Window1");
  
//Cancel the postback
  
  
return false;
  
}
  
  
</script>
<telerik:RadMenu ID="RadMenu1" runat="server" style="left: 1px; top: -1px" Width="100%" OnClientItemClicked="MenuOpenWindow">
  
<Items>
  
<telerik:RadMenuItem runat="server" ImageUrl="~/img/home.png" Text="Profile" Value="Profile">
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" Text="Groups" ImageUrl="~/img/edit_group.png" Value="Groups">
  
<Items>
  
<telerik:RadMenuItem runat="server" Text="Create Group" ImageUrl="~/img/add_group.png" Value="Create Group">
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" Text="View Group" ImageUrl="~/img/search_group.png" Value="View Group">
  
</telerik:RadMenuItem>
  
</Items>
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" Text="E Lerning" ImageUrl="~/img/Tips.png" Value="E Lerning">
  
<Items>
  
<telerik:RadMenuItem runat="server" Text="Create Tip" ImageUrl="~/img/Create_Tip.png" Value="Create Tip">
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" Text="View Tips" ImageUrl="~/img/Search_Tip.png" Value="View Tips">
  
</telerik:RadMenuItem>
  
</Items>
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" Text="Account" ImageUrl="~/img/Account.png" Value="Account">
  
<Items>
  
<telerik:RadMenuItem runat="server" Text="Change Password" ImageUrl="~/img/key.png" Value="Change Password">
  
</telerik:RadMenuItem>
  
<telerik:RadMenuItem runat="server" ImageUrl="~/img/exit.png" Text="Log Out" Value="Log Out">
  
</telerik:RadMenuItem>
  
</Items>
  
</telerik:RadMenuItem>
  
</Items>
  
</telerik:RadMenu>
when clicking an item of radmenu gives me the error: Message: 'Item.Text' is null or not an object
Line: 16
Char: 15
Code: 0
URI: http://localhost:4853/DensoNetWork/Main.aspx

I think I'm doing something wrong
thanks and regards

excuse me if my English is a little bad

arturo
Top achievements
Rank 1
 answered on 02 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?