Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
57 views
Hi,
I am binding a set of results to the rad grid.The default behavior of sorting in rad grid is when i click on any header of grid, all rows will be sorted but my requirement is two rows should be freezed irrespective of sort order.
Could you please suggest me the approach to implement this.

Thanks
Kiran Kumar G.
Pavlina
Telerik team
 answered on 21 Mar 2012
1 answer
144 views
Hi,

I am using my rad button like this,
<telerik:RadButton ID="chkIsConsultation" runat="server" Text="Consultation"
 ToggleType="CheckBox" ButtonType="ToggleButton" CausesValidation="false">
</telerik:RadButton>

but on ckecking the checkbox an exception occurs
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: .

How this comes..
Help me.
Thnx in advance
Slav
Telerik team
 answered on 21 Mar 2012
9 answers
215 views
Hi,

I am validating a GridDateTimeColumn client side. Here is my code:

Protected Sub gridRemarques_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridRemarques.ItemCreated
    If (TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode) Then
        Dim eItem = CType(e.Item, GridEditableItem)
        Dim lnkInsert As linkButton = eItem.FindControl("PerformInsertButton")
        Dim lnkUpdate As linkButton = eItem.FindControl("UpdateButton")
 
        If lnkInsert IsNot Nothing AndAlso e.Item.OwnerTableView.IsItemInserted Then
            lnkInsert.OnClientClick = "return Validate()"
        Else
            lnkUpdate.OnClientClick = "return Validate()"
        End If
    End If
End Sub

This was working. I just change my linkButton for PushButton and even though the return is true or false, UpdateCommand/InserCommand is never fired... I tried some solutions on the forum, but I had no result.

My JS Validate() is simply like that for the moment:

function Validate()
{
      return true;
}

Thanks.
Pavlina
Telerik team
 answered on 21 Mar 2012
1 answer
265 views
Hi, I am using grid with paging. Now I want to delete multiple rows like two records from page 1 and two records from page 2. Is it possible?  If yes, please share the approach.

Thanks.
Pavlina
Telerik team
 answered on 21 Mar 2012
1 answer
76 views
ASSLAM-O-ALIKUM

                                Dear Sir i am a little junior developer i was install a all telerik tools(Rad Controls) in my computer but after installaion i loss all previous suggestion boxes which are shown at generate C# coding for example i was type Visible.True the word Visible or many more attribute are not shown in my software Visual studio 2010 so plzzzzzzzzzzzzz help me about that matter i am in very strugle able coding generated please help me
 
  THANKS   
Plamen
Telerik team
 answered on 21 Mar 2012
2 answers
209 views
Hi,

Is there a way to sort tabs alphabetically in a radtabstrip?

Thanks
Borralis
Top achievements
Rank 1
 answered on 21 Mar 2012
5 answers
189 views
Just for some background information, I am using a RadEditor inside of a MultiView with several different Views.  The sixth view is the one that contains the RadEditor.  The first couple Views contain question and answers that fill the RadEditor Content. 

When the view with the RadEditor is displayed sometimes the RadEditor box will have the width of the longest paragraph on one line and creates a horizontal scroll.  In addition all the text in the RadEditor is not displayed.  Other times the RadEditor displays the same content without a horiztonal scroll for a with of 1000px.  In addition the text is completely there. 

I have tried setting the width on the front end and back end code to 1000px but it occasionally displays as extremely wide.  I have also tried putting a div or a table around the RadEditor with the fixed with of 1000px with the same result.  Has anybody seen this?  Does anybody have any suggestions?


Thanks
Rumen
Telerik team
 answered on 21 Mar 2012
2 answers
124 views
Hi,
Any support on this ?  or no solution ??

I am getting crash when the TargetFolder="~/MYFiles" doesn't exist.. I tried to see whether folder exist on button click
but the crash appears before button click.. below is the code.

Can u help me out, how to check wether targetfolder exist or not.

 <telerik:RadUpload ID="RadUpload1" runat="server"
        ControlObjectsVisibility="CheckBoxes, AddButton, DeleteSelectedButton"
        TargetFolder="~/MYFiles" onfileexists="RadUpload1_FileExists" OverwriteExistingFiles="false">
  </telerik:RadUpload>

<asp:Button ID="btnUpload" runat="server" Text="Upload" onclick="btnUpload_Click"  />

C#
 protected void btnUpload_Click(object sender, EventArgs e)
    {
        if (RadUpload1.UploadedFiles.Count > 0)
        {
            string filename = Path.GetFileName(RadUpload1.UploadedFiles[0].GetName());
            if (System.IO.Directory.Exists(Server.MapPath(RadUpload1.TargetFolder)))
            {
            }
            else
            {  
            }
        }
    }

Regards,
Akki
Dimitar Terziev
Telerik team
 answered on 21 Mar 2012
3 answers
153 views
I have spent the last few hours reading docs, threads and demos about the RadToolTipManager. I just don't get it. Here is what I want to do:

I have a ton of controls I need tool tips for. Right now the page has a separate RadToolTip for each control. I don't want this. But I can't figure out how to use the manager. How do I tell it what controls to use? These aren't dynamic controls, I know exactly what the list of controls is before the page runs so I don't need some wonky server code on some event running to fill the container at run-time. I can hard code them all in. So how do I do that exactly? Also, how do I tell it what tip text to give each control. Again, this is all static strings, I don't need to fetch text from a db and do ajax updates for every tool tip. How can I just hard code the tips in for each control?
Marin Bratanov
Telerik team
 answered on 21 Mar 2012
8 answers
152 views
I have some menus where the last letter of a label is pushed to the next line. It isn't every label, just certain ones on the end. I'm not really quite sure why it is happening or where to begin to fix it. The behavior only shows up in IE (shocker!). I've attached some screen shots so that you can see. Any suggestions would be helpful.
Peter
Telerik team
 answered on 21 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?