Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views

I am new to telerik components. I have a telerik radgrid that retrieve data from sql server data source and does basic sorting. That sorting  does not work after I preserve radCombo values in server-side and put the radgrid code in !Ispostback(). I am aware that when grid header column is clicked for sorting, that time data gets posted back now and that is why the sorting is not working.  How to solve this issue and I don't want to take off the radgrid.datasource in page_load !Isposback().

 

if (!IsPostBack){
RadGrid1.Datasource = DataTable("select * from customer");
RadGrid1.DataBind();
}

 

Thanks in advance.

Shinu
Top achievements
Rank 2
 answered on 28 Aug 2012
1 answer
91 views
Hi,

I am looking for  a method to show a confirm window(Yes/No) on click of a LinkButton in the FormTemplate.grid. How to get this?

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 28 Aug 2012
7 answers
263 views
I have a Radspell control in a cell of a table. All is fine until I try setting tabindex on the various controls on my page.  After setting Tabindexes the cell the Radspell control is on is recieving the focus not the control itself.  What am I doing wrong?

Thanks,
Gerald
TonyG
Top achievements
Rank 1
 answered on 27 Aug 2012
3 answers
112 views
I found this page: http://www.telerik.com/help/aspnet-ajax/filter-getting-familiar-with-client-side-api.html 

I tried to replicate the sample regarding changeGroupOperator but it's not working. I see the 1st alert but never see the second alert. I had to use $get as $find kept returning null.

    <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
<script type="text/javascript" language="javascript">
    var tmp1 = $get("<%= rfPortfolios.ClientID %>");
    alert(tmp1);
    tmp1.changeGroupOperator("0", "Or");
    alert('123');
</script>
</telerik:RadCodeBlock>


This is my scriptmanager:
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        LoadScriptsBeforeUI="false"
        EnableScriptGlobalization="true"
         EnableScriptLocalization="true"
         EnablePartialRendering="true"
         EnablePageMethods="true"
         ScriptMode="release" >
                 <Scripts >
            <ajax:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
            </ajax:ScriptReference>
            <ajax:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
            </ajax:ScriptReference>
            <ajax:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </ajax:ScriptReference>
        </Scripts>
</telerik:RadScriptManager>


Any ideas what's going wrong?

Thanks.
Robin
Top achievements
Rank 1
 answered on 27 Aug 2012
2 answers
78 views
I had previously been able to display, update, insert and delete appointments when using a SqlDataSource.  Now I am attempting to use a CslaDataSource - just to display appointments for now - and am having some trouble.

I have verified that the collection that I am binding to the scheduler contains the appointment objects I expect to see, and after I bind (in the CslaDataSource's SelectObject event handler, via the EventArgs' BusinessObject property) the scheduler's Appointments collection contains those same objects.  However, for some reason they never render on the page - it always appears that the schedule is completely empty.

Calls to the scheduler's DataBind() method are what cause the SelectObject events to fire in the first place, so it's not a simple omission of a call to DataBind().  I have also verified that the resource key values match between the scheduler's Resources and Appointments collections.

Thanks in advance for any help!

Cheers,
Joe



Joe
Top achievements
Rank 1
 answered on 27 Aug 2012
3 answers
207 views
I've been looking through the example on customizing the advanced template for the RadScheduler.  It looks complicated to implement.  Does anyone have a step to step instructions on getting the advanced template working? 
Helen
Telerik team
 answered on 27 Aug 2012
1 answer
170 views
Hi



I can't get the JS intellisense to work With RadScriptManager and Visual Studio 2012. When i change it to asp:scriptmanager, there is no problem.



This Works perfectly in VS 2010



Any suggestions?
Helen
Telerik team
 answered on 27 Aug 2012
7 answers
94 views
In online demo page http://demos.telerik.com/aspnet-ajax/controls/examples/default/defaultcs.aspx it says that Version Q2 2012 released 08/15/2012 but the latest available release is 2012.2 724 (Jul 24, 2012)?
What's up?
Helen
Telerik team
 answered on 27 Aug 2012
1 answer
276 views
hi

i have a code that display differently bwtween firefox and IE9. Both support CSS3

what i get from Firefox is that there is no spaces betweeen the textbox and the button, which is what i want.
But when i use IE9 to view, there is a space between the textbox and the button. How do i get the same display as firefox.

here is the code: Thanks

<td> <div style="text-align:center">
     <telerik:RadTextBox ID="RadTextBox1" Runat="server" 
            style="border-style: solid; border-width:8px; border-color:#e9e5d9; font-size:medium; border-radius: 3px 0px 0px 3px;font: bold 15px/10px 'lucida sans', 'trebuchet MS', 'Tahoma'; "
             Height="48px"
            Width="470px"
            EmptyMessage="search here......">
        </telerik:RadTextBox>
    
        <asp:Button ID="btnSearch" runat="server"
            style="overflow: visible; position:absolute; border:0px none #d83c3c; padding: 0;cursor: pointer;height: 48px;width: 110px; font: bold 15px/0px 'lucida sans', 'trebuchet MS', 'Tahoma';    color: #fff;    text-transform: uppercase; border-radius: 0px 3px 3px 0px;background-color: #d83c3c;"
            Text="SEARCH" />
 </div></td>
Nencho
Telerik team
 answered on 27 Aug 2012
2 answers
196 views
Hello.  Is it possible to access the DataItemIndex of the ListView on the aspx side in order to dynamically assign a CSS Class?
IE, something like:

<%# DataBinder.Eval(Container.DataItem.ItemIndex) % 2 == 0 ? "itemText" : "itemTextAlt" %>

What would be the proper syntax?  Thanks!

Angie
Top achievements
Rank 1
 answered on 27 Aug 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?