Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Among the records displayed in the radgrid,  there are some records with single quote :- " ' " .    For example names like O' Neil etc.
Now invoking a search on the column with search value = ' , no records are fetched, even though there are valid records with '. How can I enable search with values like this.

Second case, while searching with a double quote, the value entered in the search text box (") is not posted as the value in the code behind is empty, and hence the entire record set is displayed wiyhout filtering. It will of great help if it is possible for me to search with thhese 2 special values.

Additional info:  I am usind rad controls for ASPNET AJAX Q1 2008.  I am viewing in IE6.
Iana Tsolova
Telerik team
 answered on 01 Jun 2009
1 answer
135 views
Hi all,

I am using Hierarchical grid with template having inner grid. For edit functionality on inner grid, i used RadWindow.
How do i rebind grid after rad window get closed? I refer this demo , and it refreshed outer grid so i loose focus on inner grid. and  automatically collapse all row details that i expanded before.

Could you please suggest me the solution so i can refresh only inner grid, or how to maintain state of outer grid.?

Thanks,
Amol Wable






Hierarchical
Iana Tsolova
Telerik team
 answered on 01 Jun 2009
1 answer
179 views
Hi All,

I am new to the RadControls for ASP.NET Ajax. Is any way for this scenario:

Click a button to start an ajax that
1) make some calcaulate on the server side 
2) fill a grid in the panel with the results on the server side
3)after the ajax response is ended, send some data back to client side and call the client side callback function to fill client side control...

I know how to do 1) and 2) and I can use the client side callback function of the ASP.NET to do 3) somehow. 

But I am seeking a better way in the Radcontrol framework

Is there any way to return string from Server to a client function, at the event of  OnResposeEnd? or any suggsetion?

TIA

Jerry
   
Iana Tsolova
Telerik team
 answered on 01 Jun 2009
3 answers
215 views
Hi!

Is it possible to set tooltips on sub-items of a RadToolBarSplitButton?

The following pseudo-code doesn't seem to work, there's no tooltip on the added button:

var btn = new Telerik.Web.UI.RadToolBarButton();
btn.set_value(navItem.ID);
btn.set_text(' My Text');
btn.set_toolTip('My Tooltip');
splitButton.get_buttons().add(btn);

Regards 

 

 

 

 

 

 

 

 

Helen
Telerik team
 answered on 01 Jun 2009
1 answer
80 views
Hi,

I'm creating a custom skin based on the Outlook skin for the progress area. I'd like to restyle the cancel button that is automatically generated by the control but was wondering what css class I need to target. I'm using Q3 2008 and the css section of the skin for the progress area is as follows:

/*progress area*/ 
 
.RadUpload_FileExplorer .ruProgress li 
    margin:0 0 1em; 
    font-weight:bold; 
    color:#333; 
 
.RadUpload_FileExplorer .ruProgress li.ruCurrentFile 
    font-weight:normal; 
    color:#004a93; 
 
.RadUpload_FileExplorer .ruProgress .ruBar 
    border:1px solid #7f9db9; 
    background:#fff; 
    margin-bottom:0.4em; 
    height:16px; 
    overflow: hidden; 
 
.RadUpload_FileExplorer .ruProgress .ruBar div 
    background:#ee8315; 
    height:16px; 
 
.RadUpload_FileExplorer .ruProgress .ruActions 
    margin:1.2em 0 0; 
    font-weight:normal; 
 
.RadUpload_FileExplorer .ruProgress span 
    font-weight:normal; 

I just need the element to target really? I thought it may have been .ruActions, but this doesn't appear to be the case.

Thanks,

Michael
Genady Sergeev
Telerik team
 answered on 01 Jun 2009
1 answer
92 views
Hi

i seem to have lost the styling on my appointments. I am using the standard styles from your css (

rsCategoryGreen

 

 etc ), but they seem to have disappeared.

Do you have any ideas as to why this has happened?

Thanks

Kamen Bundev
Telerik team
 answered on 01 Jun 2009
1 answer
83 views
The english-speaking abilities of telerik designers, help staff and other personell is about a million times better than my bulgarian, so this is not meant to be any sort of slight. In fact, I find Telerik's staff to be more proficient in english than just about any other foreign support personell I have dealt with. However, there are a few instances where some built-in phrases could use some tweaking. One of these is within the Image Manager dialog. If you try and upload an image which already exists (without ch0osing over-write), you get an error message which could be phrased a little better. I haven't checked, but I beileve this is a standard message shown in any of the file browser dialogs. Anyway, how do I go about changing the message? I am using custom dialogs, so I have copied the EditorDialogs folder to my app. I did a search within this folder and the error message doesn't appear anywhere, so I am guessing it is stored somewhere else.
Lini
Telerik team
 answered on 01 Jun 2009
2 answers
200 views
Hi,

I'm trying to use column resizing inside div having fixed width and overflow scroll (or auto).
            grid.Resizing.AllowColumnResize = True
            grid.Resizing.ClipCellContentOnResize = True
            grid.Resizing.EnableRealTimeResize = True
            grid.Resizing.ResizeGridOnColumnResize = True

It works almost perfectly but on the client side, when resizing the grid while horizontal scrollbar is scrolled to right, two lines that suppose to show column left and right borders are displayed on wrong position. It seems that during resizing scrollLeft (and scrollTop?) of containers is not calculated.
The same happen when trying to move column if grid is scrolled to left inside similar container.

BTW, I tried also by setting: grid.Style("overflow") = "auto" and grid.Resizing.ResizeGridOnColumnResize = false.
This works in the same way, because the style is applyed to the div containing actual table. It means that setting overflow(x) to auto and fixing the bug would be a nice new feature of RadGrid :-)

Am I missing some point there?
Thanks!
Miroslav
Top achievements
Rank 1
 answered on 01 Jun 2009
1 answer
97 views
hi
excuse for my english "am french"

I test your telerik datagrid with usercontrol insert/update/delete exemple
and all work well with simple word
but  when i trie to update a value with ' quote  ex: l'organisation it impossible to send this value.
i think it a concatenation problem

my code

usercontrol.ascx :

 

 

<asp:TextBox ID="AssoPresident" runat="server" Width="260px" Text='<%# DataBinder.Eval( Container, "DataItem.AssoPresident" ) %>'></asp:TextBox> 
 
 
 

default.aspx (code behind) :

 

 

 

Protected Sub RadGrid1_UpdateCommand(ByVal source As ObjectByVal e As GridCommandEventArgs) Handles RadGrid1.UpdateCommand  
        Dim editedItem As GridEditableItem = TryCast(e.Item, GridEditableItem)  
        Dim MyUserControl As UserControl = CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)  
        'Get the primary key value using the DataKeyValue.       
        Dim AssoID As String = editedItem.OwnerTableView.DataKeyValues(editedItem.ItemIndex)("AssoID").ToString()  
        'Access the textbox from the edit form template and store the values in string variables.       
        'Dim AssoNom As String = (TryCast(editedItem.FindControl("RadTextNom"), RadTextBox)).Text  
        Dim AssoPresident As String = CType(MyUserControl.FindControl("AssoPresident"), TextBox).Text  
        'Dim PetitDescriptif As String = CType(userControl.FindControl("PetitDescriptif"), TextBox).Text  
        Try 
            'Open the SqlConnection       
            SqlConnection.Open()  
            'Update Query to update the Datatable        
            Dim updateQuery As String = "UPDATE association set AssoPresident='" & AssoPresident & "' where AssoID='" & AssoID & "'" 
            SqlCommand.CommandText = updateQuery  
            SqlCommand.Connection = SqlConnection  
            SqlCommand.ExecuteNonQuery()  
            'Close the SqlConnection       
 
 
            SqlConnection.Close()  
        Catch ex As Exception  
            RadGrid1.Controls.Add(New LiteralControl("Unable to update Customers. Reason: " + ex.Message))  
            e.Canceled = True 
        End Try 
    End Sub 

 

 



can you help me I don't see where is the error.




 

Georgi Krustev
Telerik team
 answered on 01 Jun 2009
5 answers
178 views
Hi,

I have a grid which displays No Records text when no record exists for the grid. It works fine.
But for certain conditions, i dont want to display that message at all. I was successfull in that as well by using as below

Grid1.MasterTableView.NoMasterRecordsText =

"";
But i can see the row line displayed in this case. How can i avoid the row lines being displayed in the grid when that conditions occurs.

Regards

Sujith

 

Karen
Top achievements
Rank 1
 answered on 01 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?