Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
I have a problem about SQL connection , Could you show the source code of radgrid without SQL connection on C#.net.

I would like to take a look this a example


Thank you
Andrey
Telerik team
 answered on 21 Mar 2012
2 answers
162 views
Hi,

I am upgrading 2008 Q3 version of telerik control to 2011 Q3 version in my project in .NET 4.0. with the latest version of RadComboBox with scroll bar, when an item in the middle of item list is selected and open the dropdown it unnecessarily repoisitons the scroll bar. This does not seem to be visually smooth. For examle take a look at the below example, select any item after the second item. then open the dropdown, you will see that scroll bar moves down unnecessarily.

http://demos.telerik.com/aspnet-ajax/combobox/examples/default/defaultcs.aspx

This did not happen with 2008 version of telerik. It was smoothly displayed. Before it displays the dropdown the scroll bar is already moved down to the correct position with out the user visually see the scrollbar moves down after the display.

Please let me know if you have any solution to fix this. Thanks in Advance!
Simon
Telerik team
 answered on 21 Mar 2012
1 answer
149 views
Hi All,

I'm using combobox in usercontrol data is bind from database through LoadCombo() method if I place this method in if (!ispostback) nothing is load out that it load data , and using this usercontrol in main page in RadTabStrip at first when I select the value and click submit button every things works fine then if I click combox for next selection I get this error :Selection out of range
Parameter name: value

Methods :

 private void LoadCombo()
    {
        DataSet _objDS = new DataSet();
        DataSet _objDSCard = new DataSet();
        _objDS = _objBlGeneral.fn_EmpId_No_Card_Get(0);
        rcbEmpId.DataSource = _objDS;
        rcbEmpId.DataTextField = "Emp_Name";
        rcbEmpId.DataValueField = "EmpId";
        rcbEmpId.DataBind();
        _objDSCard = _objBlGeneral.fn_CardId_Ready_Get();
        rcbCardId.Items.Clear();
        rcbCardId.DataSource = _objDSCard;
        rcbCardId.DataTextField = "CatId";
        rcbCardId.DataValueField = "CatId";
        rcbCardId.DataBind();
    }

 protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            GetData();
           
        }


        LoadCombo();
       
    }

One more query How can I Flush data of combobox before loading the data like first time binding the data again.
Thanks
Ivana
Telerik team
 answered on 21 Mar 2012
1 answer
34 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
120 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
155 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
246 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
53 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
183 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
168 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
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?