Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
156 views
in RadUpload Can we change select button into Add Button? . It mean when we click into textbox will open file and when we click to Add button will create new upload like normal Add Button in RadUpload , I also enclose a image which describe about what i say.Please help me.
Shinu
Top achievements
Rank 2
 answered on 19 Apr 2010
30 answers
468 views
i noticed schedular got recurrence with a few readonly property.
i couldn't find how i can store / set data.
normally how we can save the data?
and how about the all day check box?
i using asp.net with SQL database.
Iry Lee
Top achievements
Rank 2
 answered on 19 Apr 2010
4 answers
167 views
Hi there,

I'm trying to control a multipage control using a combobox.  I have added a tabstrip and set the multipageId and I can use the tabs to view each of the pageviews.  I'm using the following code in the combobox's OnClientSelectedIndexChanged event handler.

function OnClientSelectedIndexChanged(sender, eventArgs) { 
      var item = eventArgs.get_item(); 
      var multiPage = $find("<%=RadMultiPageQuickDD.ClientID %>"); 
      alert(multiPage.get_pageViews().get_count()); 
      multiPage.set_selectedIndex(item.get_index()); 
} 

For some reason the pageview count is 0.  But I can switch between the pageviews using the tabs.

Below is the code in my ascx file:
<asp:Panel ID="pnlProductType" runat="server" Visible="false" CssClass=""> 
        <asp:Label ID="lblProductType" runat="server" Text="Product Type" AssociatedControlID="ddlProductType"></asp:Label> 
        <telerik:RadComboBox ID="ddlProductType" Runat="server" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"></telerik:RadComboBox> 
      </asp:Panel> 
      <telerik:RadTabStrip ID="RadTabStripQuickDD" runat="server" Skin="Default" MultiPageID="RadMultiPageQuickDD"> 
      </telerik:RadTabStrip> 
      <telerik:RadMultiPage ID="RadMultiPageQuickDD" runat="server" CssClass="pageView" OnPageViewCreated="RadMultiPageQuick_PageViewCreated"> 
      </telerik:RadMultiPage> 

I'm creating the tabs, pageviews, and combobox items at runtime on the server.

Any help would be appreciated.

Regards,

Mark.
Mark P
Top achievements
Rank 1
 answered on 19 Apr 2010
3 answers
193 views
Do you know if it is possible on the client side to disable via javascript the entire rad toolbar object directly, instead of iterating thru all of the tool bar items and disabling them one-by-one via the RadToolBarItem client object?  I did not see any appropriate methods on the RadToolBar client object API to disable the entire toolbar, but wanted to make sure I was not overlooking something. 

Thanks for the help
Vincent
Top achievements
Rank 1
 answered on 18 Apr 2010
0 answers
77 views
Hi,

I am using Ribbon UI in my master page. The content pages are within ajax update panel. I prompt my users to save the form details, when they navigate away from a page.

Scenario:
If a user does not save a form and tries to navigate away by clicking on a button in the ribbon UI(redirects to some other page), a prompt appears with Ok and Cancel. If the user clicks OK, he navigates to the link. If he clicks on cancel, the page redirection will not happen.

Error:

When the user clicks cancel, An "unspecified error" pops up. This happens only if the user tries to navigate by clicking a button in ribbon UI

function __doPostBack(eventTarget, eventArgument) {

 

 

if (!theForm.onsubmit || (theForm.onsubmit() != false)) {

 

theForm.__EVENTTARGET.value = eventTarget;

theForm.__EVENTARGUMENT.value = eventArgument;

theForm.submit();--------->Error here

}

}

saravanan k
Top achievements
Rank 1
 asked on 18 Apr 2010
0 answers
78 views
hi, sorry about the multiple posts on this, the forum kept saying there was an error.

I am having a problem where the client selected item is always the same.  I'm just using the javascript from the detecting selected file example, the only difference is that I have a custom FileBrowserContentProvider for sharepoint.  When I click a file in the grid, the event args passed to the selected item event handler are always for the first item instead of the one I selected.  I also tried using sender.get_selectedItem() instead, but that also always returns the first file item, even though the highlighted item is different.

Has anyone hit this problem before?  Any idea what might be causing this?
Ryan Fligg
Top achievements
Rank 1
 asked on 17 Apr 2010
1 answer
90 views
thx
Sean
Top achievements
Rank 1
 answered on 16 Apr 2010
2 answers
274 views
Using the following template column code I can define an aggregate for the column, but nothing is displayed. Does the declarative aggregate work now for a GridTemplateColumn, and if so, what can I do to display the result?

<telerik:GridTemplateColumn UniqueName="IsInvitationAccepted"
    DataField="IsInvitationAccepted"
    HeaderText="Confirmed?"
    HeaderTooltip="Has this speaker confirmed their acceptance?"
    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
    FooterStyle-HorizontalAlign="Center"
    Aggregate="Sum" FooterAggregateFormatString="Confirmed: {0:F0}"
    >
    <ItemTemplate>
        <asp:Label ID="LabelInvitationAccepted" runat="server" 
            Text='<%# Convert.ToInt32(Eval("IsInvitationAccepted"))==1?"Yes":"No" %>' />
    </ItemTemplate>
</telerik:GridTemplateColumn>
The Wire
Top achievements
Rank 1
 answered on 16 Apr 2010
6 answers
969 views
Hi
I am having a radgrid its multiselection is set true.After selectcommand i select rows ....Its deselecting After the deselect command only...
But i want to deselect the selected rows after a button click..Is there any property for that??
Please share suggessions


lekha
Daniel
Telerik team
 answered on 16 Apr 2010
4 answers
158 views
The chart looks good in the viewer but none of the labels print out with a transparent background. Every label has a white background which makes the chart look like everything overlaps with white boxes and cuts out  a section of a bar next to it. I have set transparency in the series item label appearance and so on. It's a 3 series chart with 25 points so they are narrow bars. So how do I get the print out to match the screen? Also its doing this on all the printers around here.
Richard Cockerham
Top achievements
Rank 1
 answered on 16 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?