Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
110 views
Clicking on all of the items available in the Editor's fine-tuning section I am presented with the opportunity to download ToolBarSprites.gif and ToolBarVerticalSprites.gif. None of the items give me the opportunity to download CommandSpritesLight.png, CommandSpritesLightIE6.gif or CommonIcons.gif.

Granted, if I download my skin they're included in the zip file but ...

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 03 Aug 2010
0 answers
98 views
I was trying to do a drag and drop from a radtreenode to the inside of an iframe but to no avail.
The main window and iframe are of the same application.
Is it possible to drag-and-drop node items to the iframe content, because as I have tried, the cloned node does not pass over the iframe. Thanks in advance.
Jronny
Top achievements
Rank 1
 asked on 03 Aug 2010
3 answers
159 views
I would like to replace the default QuickLaunch and Tree navigation used in a SharePoint Foundation 2010 site (the left-hand side navigation) with a RadPanelBar.  Has anyone done this with SP Foundation 2010 or WSS 3.0?  Is it even possible?

Some sample code would be greatly appreciated...

Thanks!

Yana
Telerik team
 answered on 03 Aug 2010
1 answer
124 views
Hi, I have a grid whose EditMode is set to "EditForms".  When the user chooses to insert a new item, I have several fields that should not be visible (they are visible in edit mode, however).  As shown in the code below, in insert mode, I set the visible property to false on those fields.  This works just fine except for the fact that the HeaderText is still displayed.  How do I hide that HeaderText?  Someone else here asked this question in another thread but it was never answered.  Can you help?

Protected Sub grdMember_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grdMember.ItemDataBound
    If e.Item.OwnerTableView.DataSourceID = "sdsMember" Then
        If TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode Then
            If e.Item.OwnerTableView.IsItemInserted Then
                Dim edititem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
                Dim acsysid As TextBox = DirectCast(edititem("ACCOUNTING_SYSTEM_ID").Controls(0), TextBox)
                acsysid.Visible = False
                Dim termdate As RadDatePicker = DirectCast(edititem("MEMBER_RB_TERMINATION_DATE").FindControl("rdpTerminationDate"), RadDatePicker)
                termdate.Visible = False
                Dim termcomments As TextBox = DirectCast(edititem("MEMBER_RB_TERMINATION_COMMENTS").FindControl("txtTermComments"), TextBox)
                termcomments.Visible = False
                Dim memberrbactive As CheckBox = DirectCast(edititem("MEMBER_RB_ACTIVE").Controls(0), CheckBox)
                memberrbactive.Visible = False
            End If
        End If
    End If
End Sub
<telerik:GridBoundColumn DataField="ACCOUNTING_SYSTEM_ID" UniqueName="ACCOUNTING_SYSTEM_ID"
    HeaderText="Accounting ID" AutoPostBackOnFilter="true">
    <ItemStyle VerticalAlign="Top" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Term. Date" DataField="MEMBER_RB_TERMINATION_DATE"
    SortExpression="MEMBER_RB_TERMINATION_DATE" UniqueName="MEMBER_RB_TERMINATION_DATE">
    <EditItemTemplate>
         <telerik:RadDatePicker ID="rdpTerminationDate" runat="server" DbSelectedDate='<%# Bind("MEMBER_RB_TERMINATION_DATE", "{0: MM/dd/yy}") %>'>
            <DateInput ID="diTerminationDate" InvalidStyleDuration="100" runat="server">
            </DateInput>
        </telerik:RadDatePicker>
    </EditItemTemplate>
    <ItemTemplate>
        <asp:Label ID="MEMBER_RB_TERMINATION_DATELabel" runat="server" Text='<%# Bind("MEMBER_RB_TERMINATION_DATE", "{0: MM/dd/yy}") %>'></asp:Label>
    </ItemTemplate>
    <ItemStyle VerticalAlign="Top" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="MEMBER_RB_TERMINATION_COMMENTS" HeaderText="Term. Comments"
    SortExpression="MEMBER_RB_TERMINATION_COMMENTS" UniqueName="MEMBER_RB_TERMINATION_COMMENTS">
    <EditItemTemplate>
        <asp:TextBox ID="txtTermComments" runat="server" Text='<%# Bind("MEMBER_RB_TERMINATION_COMMENTS") %>'
            TextMode="multiLine" Rows="5" Columns="40"></asp:TextBox>
    </EditItemTemplate>
    <ItemTemplate>
        <asp:Label ID="MEMBER_RB_TERMINATION_COMMENTSLabel" runat="server" Text='<%# Eval("MEMBER_RB_TERMINATION_COMMENTS") %>'></asp:Label>
    </ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridCheckBoxColumn DataField="MEMBER_RB_ACTIVE" DataType="System.Boolean"
    HeaderText="Active" SortExpression="MEMBER_RB_ACTIVE" UniqueName="MEMBER_RB_ACTIVE" AutoPostBackOnFilter="true">
    <ItemStyle VerticalAlign="Top" Width="40px" />
    <HeaderStyle Width="45px" />
</telerik:GridCheckBoxColumn>
Princy
Top achievements
Rank 2
 answered on 03 Aug 2010
1 answer
68 views
hello
i develop a project in c#
in my webform i want add tabstrip and multipages.pageview dynamicly in server side code
when my button click tabs in tabstrip increase but pageviews in multipage control not added
may you help me?
Shinu
Top achievements
Rank 2
 answered on 03 Aug 2010
1 answer
143 views

Hello,

I would like to try using the CompositeScript functionality provided by the RadScriptManager. However, I'm having difficulty trying to pass in the parameters that I would need in the javascript in order to do to.   For example, for the RadNumericTextBox OnValueChaging event, we defined the javascript function to call:

txtAmount.ClientEvents.OnValueChanging = "price_changing";

In the RadScriptBlock, I have the following function:

function price_changing(sender, args) {
var strOldValue = args.get_oldValue().toString().replace("$",""); // 0.00
var strNewValue = args.get_newValue().toString().replace("$", ""); // 0.00
var totalfee = parseFloat(document.getElementById("<%= lblTotalFee.ClientID %>").innerText.replace("$", ""));
if (run_update && (strOldValue != strNewValue)) {
var grid = $find('<%= grdFee.ClientID %>');
.....


In order to move the script block into a seperate .JS file, I need to replace "<%= lblTotalFee.ClientID %>" with a variable I can pass into the javascript function. (Or the "<%= grdFee.ClientID %>").

 

There seems to be no way of doing that, I cannot specify parameters in the ClientEvents.OnValueChanging event.


One way might solve it is to upgrade to .NET 4 (We use .NET 3.5 now), then use the ClientIDMode property, so we can always expect a static ID.  But I'm looking for another option. 
 

Any ideas?

 

Thanks,

Annie

Veli
Telerik team
 answered on 03 Aug 2010
4 answers
123 views
I have created 2 docks which load the same .ascx file.

In the .ascx, there is a button to set the object "tblInput" visible (a table object). But when I click the button on the second dock, the table in the first dock make visible. How to prevent this?
Andy Ho
Top achievements
Rank 1
 answered on 03 Aug 2010
1 answer
128 views
hey.. I am having a really weird issue that I can't pin down. First off.. I don't think it is permission based as the explorer does actually move the file, does upload, does delete . However what does happen is that it seems to hang at the ajax when trying to read the folder contents. I would accept that it may be permission based only if my file manager on my radeditor was behaving the same way.. which it is not.

FileExployer1 markup
<telerik:RadScriptManager ID="RSM" runat="server"></telerik:RadScriptManager>
   
  
 <table>
 <tr>
 <td valign="top">
   <telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="400px">
         <Configuration  ViewPaths="~/Images/CMS" DeletePaths="~/Images/CMS" UploadPaths="~/Images/CMS" />
    </telerik:RadFileExplorer>
 </td>
 <td valign="top">

and this is my radeditor markup...(within a formview)
      <telerik:RadEditor Height="700px" Width="100%" ID="RadEditor1" Content='<%# Bind("PageContent") %>' Runat="server">
              <ImageManager DeletePaths="~/Images/CMS" UploadPaths="~/Images/CMS"   ViewPaths="~/Images/CMS"    />
</telerik:RadEditor>

every time I hit the delete button or try to drag an image around... it performs and posts back.. except the ajax seems completely jammed on the right side of the explorer where it lists the contents.
The hang does not clear and i need to repost the page.. once reposted I see all my files etc.

assembly version: 2009.02.0701.35

mac
Top achievements
Rank 1
 answered on 03 Aug 2010
7 answers
139 views
Has anyone successfully used RadAjaxManager to trigger a series of cascading combo boxes?

I have 3 RadCombo boxes setup, each with their own matching SQLDataSource.

Changing cboContentAreas triggers a refresh of cboAreasOfConcern.
Changing cboAreasOfConcern triggers a refresh of cboInterventionTools.

However, changing cboContentAreas does NOT cause a refresh of cboInterventionTools as well.

I thought maybe this would work (but it does not):
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="cboContentAreas">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="cboAreasOfConcern" />
                <telerik:AjaxUpdatedControl ControlID="cboInterventionTools" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="cboAreasOfConcern">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="cboInterventionTools" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Is there a way to trigger a cascading refresh through the RadAjaxManager?

I will also need to do a fourth level of refresh... when they select a tool, it will need to trigger a refresh of 3 other combo boxes.. and all of that needs to happen when the first combo is changed.

Seth
Top achievements
Rank 1
 answered on 02 Aug 2010
2 answers
137 views
Hi,

I am using two Calendar controls in conjunction with the Scheduler (as seen in the Demo) and I have noticed that recurring appointments do not get highlighted in the Calendar (either one) until one of the "child" appointments is clicked on in the Calendar, and then, only for the Calendar you are in. Also, no recurring appointments appear highlighted if you "page" forward in the Calendars.

So, my question is: Is there a "collection" of recurring appointments generated at some point, or is there a way to generate a collection without the tedium of parsing the RecurrenceRule and generating my own collection each time there is a "refresh" of the appointment data? And, if there is a collection already generated, how does one access it?

Also, is there documentation regarding the "items" in the RecurrenceRule, i.e. tokens and their possible values?

Thanks in advance.
Chris
Top achievements
Rank 2
 answered on 02 Aug 2010
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?