Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
I am unable to get the validatorcalloutextender to work in the Radgrid EditFormTemplate. Is it not supported? Do you have a sample project of it working?
Iana Tsolova
Telerik team
 answered on 02 Feb 2011
9 answers
228 views
Hi,
I'm using a grid control with a GridClientSelectColumn and I'm trying to prevent the whole row being set to the selected item backcolor. I just need to have the checkbox checked.

I thought I could do this by using the ClientEvents OnRowCreated. However, when I do this I get the error
"Microsoft JScript runtime error: 'RowCreated' is undefined"

I have tried putting the script into a RadScriptManager but it makes no difference.

The code I have is:

<

script type="text/javascript">
function RowCreated(sender, eventArgs) {debugger;}
</script>

 

 

 

 

 


The grid's client settings are:

 

<ClientSettings>
<Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />
<ClientEvents OnRowCreated="RowCreated"></ClientEvents>
</ClientSettings>

Do you have any suggestions?

Thanks,
 Kelvin

Iana Tsolova
Telerik team
 answered on 02 Feb 2011
1 answer
68 views
Hi,

Drag and drop listbox is not working in IE8. It is working fine in IE6. Please help.

Thanks,
Manish
Yana
Telerik team
 answered on 02 Feb 2011
4 answers
595 views
I've been getting HTTP 500 errors at random times, and I'm not sure why.  Here are the details:
  • Error message: "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.  The status code returned from the server was: 500"
  • When debugging the web application on my local machine (VS 2008, .NET 3.5, IE 7), I have never received an error.
  • The error gets raised sporadically on either of our two web servers (Server: W2K3, IIS 6.0; Client: Vista, IE 7), even when there is only 1 active user
  • The error never raises on co-workers' web applications that do not use Telerik, but still use AJAX
  • I cannot tie the error message to any individual Telerik control
  • 2009.2.701.35

Any help with this would be much appreciated!

Maria Ilieva
Telerik team
 answered on 02 Feb 2011
1 answer
28 views
.... MultipleEditGrid. I need to check for unsaved records on PageChange and If I find any records in EditItems call .Save function on eachControl. I Guess I can just remove record from EditItems if saving was ok.

Is it also possible to check for unsaved revords on page_unload?

//h
Iana Tsolova
Telerik team
 answered on 02 Feb 2011
4 answers
268 views
Hi there

I am quite familiar with loading images into SQL using file streams and blob data and can happily output them to a page using a handler or other means (assume your binary image control is straight forward).

Is there any way of inserting a binary image (or at least an image or document) from within a database using the RadEditor control. In essence I need an image manager that takes images from a database rather than from the file system.

I'm also sure I could probably do it by typing in the correct code but this needs to be possible for an end user.

Thanks for any comments

Martyn Fewtrell
http://www.networkclub.co.uk
Martyn Fewtrell
Top achievements
Rank 1
 answered on 02 Feb 2011
1 answer
90 views
Hi, I just saw that when I close the advanced form popup window the scheduler rebinds.
Can I prevent this?
And why does it reloads in first place? If nothing is changed there is no reason to rebind or?!

Regards,
Mattias
Peter
Telerik team
 answered on 02 Feb 2011
1 answer
150 views
I am trying to implement your demo . With debug I can see that in default.aspx.vb codebehind, proper values are being assigned to the custom session variables in custom class (e.g.: config.userID). However, I realized that the custom session variables in ashx handlers always returns null values. When I hardcode those variables in the ashx handlers, demo works just fine. I am using VS2010 premiun (visual basic) and Telerik 2010.3.1215.40

How can I make those custom class variables return correct values instead of null values?

Thank you.
Genady Sergeev
Telerik team
 answered on 02 Feb 2011
9 answers
158 views
I have a radTabStrip inside a radWindow. Scrolling on the tabstrip is set to true. When I resize the radWindow the scroll buttons do not appear or disappear when the window is resized, only when I click a tab and load a new multipage.

Additionally, if you have the tab strip scrolled all the way to the right and click on one of the tabs, the scroller loses track of where things are. It will subsequently scroll too far to the right, but not far enough to the left.
Helen
Telerik team
 answered on 02 Feb 2011
1 answer
167 views
Hello,

I setup a custom color picker in a radgrid column like so:

<telerik:GridTemplateColumn 
    DataField="Color"
    UniqueName="Color"
    SortExpression="Color"
    HeaderText="Color"
    HeaderStyle-Width="100" 
    ItemStyle-HorizontalAlign="center"                                        
    AllowFiltering="false">
    <ItemTemplate>
        <asp:Label id="lblColor" runat="server" ></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadColorPicker ID="RadColorPicker1" Runat="server"  Skin="WebBlue" Preset="None" >
           <telerik:ColorPickerItem Title="rsCategoryDarkBlue" Value="#202B3F" />
           <telerik:ColorPickerItem Title="rsCategoryBlue" Value="#CCCCFF" />
           <telerik:ColorPickerItem Title="rsCategoryDarkGreen" Value="#2B3F20" />
           <telerik:ColorPickerItem Title="rsCategoryGreen" Value="#D0ECBB" />
           <telerik:ColorPickerItem Title="rsCategoryDarkRed" Value="#3F2020" />
           <telerik:ColorPickerItem Title="rsCategoryOrange" Value="#EDD5B7" />
           <telerik:ColorPickerItem Title="rsCategoryPink" Value="#F1DCFF" />
           <telerik:ColorPickerItem Title="rsCategoryRed" Value="#ECBBBB" />
           <telerik:ColorPickerItem Title="rsCategoryViolet" Value="#540042" />
           <telerik:ColorPickerItem Title="rsCategoryYellow" Value="#FFFAC5" />
        </telerik:RadColorPicker>
    </EditItemTemplate>
</telerik:GridTemplateColumn>

I'd like to be able to grab the title of the selected color on the server side.
protected void radGridStages_InsertCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
    //Get the GridEditFormInsertItem of the RadGrid     
    GridDataInsertItem insertedItem = (GridDataInsertItem)e.Item;
    //string EmployeeID = (insertedItem["EmployeeID"].Controls[0] as TextBox).Text;   
    try
    {
            //load the lookup
            Stage _stage = new Stage();
            //change the name
            _stage.Name = (insertedItem["Name"].Controls[0] as TextBox).Text;
            _stage.Code = (insertedItem["Code"].Controls[0] as TextBox).Text;
            _stage.Color = (insertedItem["Color"].Controls[1] as RadColorPicker).SelectedColor.ToArgb();
            //_stage.CssStyle = (insertedItem["Color"].Controls[1] as RadColorPicker).SelectedColorTitle;
            _stage.Active = (insertedItem["Active"].Controls[0] as CheckBox).Checked;
            StageService.Save(_stage);
            radGridStages.Focus();
    }
    catch (Exception ex)
    {
        lblMessage.Text = "Unable to insert Stage. Reason: " + ex.Message;
        e.Canceled = true;
    }
}

The problem is that there is no attribute server side to grab the title.  I could put in a long-winded select case statement but it seems like it should be easier.

Thanks
Jonathan
Tsvetie
Telerik team
 answered on 02 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?