Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
76 views
Hi Team..

I want to bind Rad timePicker Datasource from Client Side Using Java script.

Could please send me the code ASAP.

I searched all the Examples in Rad Timepicker what we have in internet. i couldn't get solution.

Regards,
Ashok Anbarasu.
Maria Ilieva
Telerik team
 answered on 11 Apr 2011
1 answer
65 views
I can't figure out how to use pager style mode "Slider" and have the ability to change page size.
Is this not possible?

I have attached an image describing my scenario.

/Richard
Pavlina
Telerik team
 answered on 11 Apr 2011
1 answer
123 views
hello,

   We were using telerik on a Web solution that was build targeting x86, all was fine, But When we choosed to target x64 at every part where there is a telerik component, the designer of Visual Studio 2010 doesn't let us seeing the component like it doesn't know the telerik component. All others component are drawing well (asp native or Ajax ones).

  At the top of my page the First line is say that :ASP.NET runtime error : could not find file or assembly 'my project' or one of its dependencies. 

   Is there something to do with your assembie ?

   The program still work fine in execution, but not in design mode when programming.

Thanks.
 
Sebastian
Telerik team
 answered on 11 Apr 2011
1 answer
138 views
Hello,

We have a RadDock-based application.  To provide some key functionality, we use a RadAjaxManager on the page, and add AjaxSettings dynamically for (dynamically-loaded) docks like this:

cRadAjaxManagerControl.AjaxSettings.AddAjaxSetting(dock, dock.ContentContainer, cRadAjaxLoadingPanelControl)

This allows the application to respond to custom DockCommands by updating the dock content in a partial postback.  The dock content is usually an .ascx control.

The Problem: we have an .ascx control that contains a RadGrid.  One of the columns is Tooltipified using RadTooltipManager; it loads another .ascx with row detail when an icon image is clicked. 

This works fine in a non-dock environment, but when we add the .ascx control that contains a RadGrid to the RadDock structure, we have problems with the Tooltip.  As described in other forum articles, the Tooltip appears briefly and then disappears.  It appears that the image click is triggering both the Tooltip *and* the RadAjax partial postback from the dock ContentContainer.

I can try to post a code sample, but the application is complex and spans several assemblies.  I can try to mock something up, if necessary. 
Svetlina Anati
Telerik team
 answered on 11 Apr 2011
2 answers
57 views
I'm using Q1 of 2009 version of Telerik tools. Specifcally, I have a seriously of nested RadGrids which have some dropdown boxes populated from an SQLDataSource.

Everything works fine until I try to resize the width of the dropdown box using the columneditorid tag.
Once I attach the columneditorid, the drop down list in edit/insert mode, no longer populates on load, I have to hit the grid refresh button to bind the data items.

Is there any way around this, or another way to resize the dropdown box in edit mode? Thanks
AJ
Top achievements
Rank 1
 answered on 11 Apr 2011
0 answers
145 views
Hello.

I use SqlDataSource as RadGrid data source (RadGridTable.DataSourceID = "SqlDS").
I configure SqlDataSource at Page_Load event (SqlDS.SelectCommand = "SELECT * ...").
If SQL Server returns an error then application crashes with unhandled exception.
How can I catch SqlException in that scenario?

Vadim.
vadim
Top achievements
Rank 1
 asked on 11 Apr 2011
2 answers
636 views
Hi all,

How can i  make my page refresh after i insert / edit/ delete a row in my radgrid1?
thank you.

regards,
Nasri
Arteta Sam
Top achievements
Rank 1
 answered on 11 Apr 2011
0 answers
43 views
Hi,

I have a RadMultipage with two page views in it.

As soon as I set the RenderSelectedPageOnly property true on my multipage I get the following error:

Microsoft JScript runtime error: Unable to get value of the property '_events': object is null or undefined.

Any idea what is causing this error?

Thanks
Johan
Top achievements
Rank 1
 asked on 11 Apr 2011
1 answer
114 views
Hello,

I have both RadEditor features enable on a site. I confirmed that this work for the OTB editform.aspx and newform.aspx pages.

I have a custom web control developed in C# using visual studio. There is a .CS file (compiled DLL is installed in the GAC), .ASCX web control file in the CONTROLTEMPLATE folder, and then the .ASPX page in a regular folder under the root.

The web control (.ASCX) file has the following code for a description field:

 

<tr>
        <td style="width:44%" class="ms-formlabel" valign="top">
            Description
        </td>
        <td style="width:53%" class="ms-formbody">
            <asp:HiddenField ID="hdnDescription" runat="server" />
            <span>
                <span dir="ltr">
                    <textarea name="txtDescription" rows="6" cols="20" id="idDescription" title="Description" class="ms-long">
                      <%= Server.HtmlEncode(hdnDescription.Value)%>  
                    </textarea>
                    <script>if (browseris.ie5up && browseris.win32 && !IsAccessibilityFeatureEnabled()){RTE_ConvertTextAreaToRichEdit("idDescription", true, true, "", "1033", null, null, null, null, null,"FullHtml", "\u002f",null,null,null,null);}else{document.write(" <br><SPAN class=ms-formdescription><a href='javascript:HelpWindowKey(\"nsfullrichtext\")'>Click for help about adding HTML formatting.</a></SPAN> <br>");};</script>                    
                </span>                                         
  
            </span>    
        </td>
        <td style="width:20%"> </td>
    </tr>

The RadEditor will not load up. The page is displayed using the OTB HTML editor. Is there anyway to fix this issue?
Stanimir
Telerik team
 answered on 11 Apr 2011
1 answer
123 views
Hi,

I am using the RadGrid control with EditMode="InPlace". I have a dropdown and following the example as below:

http://www.telerik.com/help/aspnet/grid/grdoperationswithdropdownlistinedititemtemplate.html

Using the GridDropDownColumn did not work well with my custom datasource. Thats why I am using the above link as a sample

<

 

Columns>

 

 

<telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-CssClass="edit" ItemStyle-CssClass="edit" />

 

 

<telerik:GridBoundColumn DataField="Name"  ReadOnly="True"

 

 

 

HeaderText="Header1" />

 

 

 

 

 

<telerik:GridTemplateColumn DataField="Description" HeaderText="Header2" >

 

 

 

<ItemTemplate>

 

 

<asp:Label id="Label1" runat="server">

 

<%

# DataBinder.Eval(Container.DataItem, "Description")%>

 

 

 

</asp:Label>

 

 

</ItemTemplate>

 

 

 

<EditItemTemplate>

 

 

<asp:DropDownList id="drpDown" runat="server" />

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 


I am populating the dropdowon on edit mode as below:

 

if (e.Item is GridEditableItem && e.Item.IsInEditMode)

 

 

{

 

 

GridEditableItem item = e.Item as GridEditableItem;

 

 

 

// access/modify the edit item template settings here

 

 

DropDownList dropDownList = item.FindControl("drpDown") as DropDownList;

 

 

dropDownList.DataSource = reactions;

 

dropDownList.DataTextField =

"description";

 

 

dropDownList.DataValueField =

"id";

 

 

 

PatientAllergy paRowData = (e.Item.DataItem as PatientAllergy);

 

 

 

if (paRowData != null)

 

 

{

 

 

if ((paRowData.Description!= null))

 

 

dropDownList.SelectedValue = paRowData.Id;

 

}

 

dropDownList.DataBind();

 

 

}


fine. I have two outstanding questions:
I want to achive the the batch update with inline editing
1.  How do I collapse the editable row when I click outside of the row.
2. How do I keep track of edited rows. Does Telerik has a implematioan for this. the below example does it only with client side and ondoubleclick editing. But I want to achieve with EditMode="InPlace". I want to do inline editing when the Edit button is clicked for the particular row. Please point me the direction.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx

.

Daniel
Telerik team
 answered on 11 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?