Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
379 views
RadBinaryImage gives you an easy way of showing an image stored as binary data in a database. The control can be used in any data bound control (Repeater, DataList, GridView, etc.) to display images which originate from binary image field in the data source. RadBinaryImage uses an internal http handler which streams the image from the binary source to the page in which it has to be visualized. The most important properties of the RadBinaryImage control are presented in the list below:

  • DataValue - property which specifies the source field from which the data will be passed as a byte array
  • Height - specifies the height of the binary image
  • Width - specifies the width of the binary image
  • AlternateText - the text that will replace the image when it is not available/cannot be streamed
  • ToolTip - the text that will be displayed in a browser tooltip when you hover the image
  • AutoAdjustImageControlSize - scales the image based on explicitly set width/height dimensions to avoid stretch or blur effect when its original dimensions do not fit. The default value is true.
  • HttpHandlerUrl - can be used to specify the location of a custom http handler which extends the default RadBinaryImage http handler. When not set, RadBinaryImage has its own handler which is invoked through the common Telerik.WebResource.axd handler.
  • ImageUrl - applicable when no DataValue is specified to gracefully degrade to regular asp Image mode.
  • ImageAlign - specifies the image alignment inside its container.

To get familiar with the control please follow these online resources:

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 17 Jun 2009
1 answer
79 views
Hi All,

We are trying to insert record to Grid using client side grid. Here is my requirement. Client keeps on adding records to grid. I should not connect to data base while adding records to grid. Once he completed he will click another button. Then only I need connect and Inset all records to data base. Please tell us how we can add records to grid client side without server events.




Rajesh
Tsvetoslav
Telerik team
 answered on 17 Jun 2009
1 answer
181 views
Hello,

I have a hierarchical grid that is configured to insert items in the second tier.
The parent grid (upper most tier) identifies the count of items in the second tier (as a grid cell).
How do I update the count in the parent grid after inserting an item in the child grid?
The child grid rebinds after the insert, but not the parent.
Thanks.
Tsvetoslav
Telerik team
 answered on 17 Jun 2009
1 answer
348 views
 I am getting this error, and it is directly related to the RadWindowManager, because when I remove it then I don't get the JS error. Please tell me why I am getting this.

Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type
Fiko
Telerik team
 answered on 17 Jun 2009
5 answers
462 views
Hello ,

i read a lot of Posts in the Forum but can't find a answer for the Problem.

I want to set a default empty ListItem into the RadCombo, which is loaded on demand.

The Empty Item should  have a string.Empty as Text and the DataKey Type MinValue of the binded datasource as value.

For example

Text = string.Empty
Value = Guid.Empty().ToString()

or

Text = string.Empty
Value = int.MinValue.ToString()


Before I updated to the current Version (q1 2009) I used the Q3 2008 Version and all works as it should. Now I have the Problem that the Item is shown in the Combobox, but it is not selectable with a Mouse Click ?! I can Select It with Key Up/Down only, but that ist a help.

Just If I set the Text Like  "------" or any other Text....
This is not what I want because a Empty Item should be really empty...

I read the workarround in this Forum but I want to set the empty with no Text = string.Empty.

Is It possible to undo the changes on this in the next version?

Kind Regards

Fabian


Simon
Telerik team
 answered on 17 Jun 2009
1 answer
121 views
I am using RadGrid Asp.net for ajax Frozen columns in my application, I notice that the issue is there in frozen columns,

i used RadSplitter inside two radpane's is there, in left radpane i have treeveiw control and in right radpane i have RadGrid control with 13 columns is there and i set  frozen columns count one ,if i resize the left Radpane, right radpane RadGrid control not scrolling the horizontal ,but scroll is there, if i take out the Frozen column count one RadGrid horizontal scroll is working, the scroll is moving left to right properly what was the problem? 

Georgi Krustev
Telerik team
 answered on 17 Jun 2009
3 answers
155 views

Hi everyone,

With ComboBox filtering and MarkFirstMatch, when a user selects a value, the cursor is placed at the end of the selected text.  For text values that are longer than the set width of the actual ComboBox, this means that the beginning of the text value cannot be seen.  This is not desired behavior for us.  Is there a way through properties or javascript code that we can always return the cursor to the beginning of the selected text string?

Thanks so much,

Adam.g
Simon
Telerik team
 answered on 17 Jun 2009
0 answers
56 views
hi everyone.
I am new to RAD controls. I am using radcombobox with multiple columns.
While debugging it fills the combo successfully but when I try to open it i mean to dopdown it to see all the items it is not getting scrolled. While in view source it is showing all the items.
I hope i make myself clear about the problem pl help.

Thanks :
Komila



komila
Top achievements
Rank 1
 asked on 17 Jun 2009
1 answer
260 views
I'd like to know if anyone has been able to use jQuery to bind to the ajaxComplete event in the browser when using radAjax. It seems to simply not work but I could be doing something wrong.


jQuery(document).ready(function(){ 
    //maybe do some stuff here 
    jQuery(window).bind("ajaxComplete", function() { 
        //this should alert after any ajax request completes. 
        alert("AJAX ROCKS!!"); 
    }); 
}); 

Sebastian
Telerik team
 answered on 17 Jun 2009
1 answer
71 views
Hi,

I am using RadControls for ASPNET AJAX Q3 2008. I'm utilising the Telerik.Web.UI.SpellChecker class to perform server-side spell checking on plain text as well as HTML strings.

I require the character offset (i.e. index) of any words failing spell check within the text string, and assumed from the documentation that the SpellCheckError.OffsetInText property would provide just what I needed (documentation below):

Telerik.Web.UI Namespace > SpellCheckError Class : OffsetInText Property
The offset in the source text. It is useful for locating the original word and replacing it with one of the suggestions.

However this property returns the zero-based order of the mistaken word within the list of the words in the text.

E.g. for the string "Two misspled wordz" the offset property would be 1 (for the "misspled" SpellCheckError) and 2 (for the "wordz" SpellCheckError).

I notice that the actual character offset is within the SpellCheckError but it's not publicly accessible (SpellCheckError.badWord.Offset)

My questions:
1) Is there any way in which to access this property for the Q3 2008 version?
2) Is this property provided publicly (e.g. in the SpellCheckError class) in a subsequent release?

Regards

Michael



 
Lini
Telerik team
 answered on 17 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?