Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
174 views
WRONG Titel!!!

Control requires script manager would be the title

Hi,

I installed the Acceleration Kit, set it up. In SPD 2010 it shows the editor but it complains that it misses the script manager. However that one is in the mast page.

Any idea?

frank
Rumen
Telerik team
 answered on 27 Aug 2012
5 answers
162 views
Hey everyone,

I am using a RadGrid to insert new records.I am using Sql Data Source for inserting Items.The problem is that records get inserted in the database table but are'nt visible inside the grid.

Thanks
Amit
Tsvetina
Telerik team
 answered on 27 Aug 2012
11 answers
293 views
Hi,
I have a FileExplorer which allows certain types of Image files.  What we would like to achieve is to disallow the user renaming the file extension. We are happy to let them rename the file just not the extension.  I have created the below code based on information I found from your help documents.  Unfortunately, although this does work and does cancel the action, it gets rid of the file rename dialogue box. Which means that after a rename, we can tell the user they cannot change the extension but then the window is closed and they have to click rename again.   So, my questions are:

A. Is there a way to tell the FileExplorer to disallow extension renaming? (simply don't give them the extension in the textbox maybe)
B. Is there another event which fire before the box closes to I can check the extensions and cancel the rename before the box closes?
C. Is there a way to keep the rename dialogue open from the below code?

Thanks,
Michael 

Protected Sub docExplorer_ItemCommand(ByVal sender As Object, ByVal e As RadFileExplorerEventArgs) Handles docExplorer.ItemCommand
    Select Case e.Command
        Case "MoveFile"
            Dim oldExt As String = System.IO.Path.GetExtension(e.Path)
            Dim newExt As String = System.IO.Path.GetExtension(e.NewPath)
            If Not oldExt = newExt Then
                e.Cancel = True
            End If
            Exit Select
 
    End Select
Vessy
Telerik team
 answered on 27 Aug 2012
2 answers
65 views

i have RadAsyncUpload that upload multi files when files uploaded complete in

FileUploaded event should rebind radgrid which display the files

the problem is radgid1.Databind(); dosen't fire

here is my code

this ajaxmanger code

<telerik:RadAjaxManager ID="RadAjaxManagerFileUpload" runat="server">

        <AjaxSettings >

            <telerik:AjaxSetting AjaxControlID="tlkasycupMultipleFile">

                <UpdatedControls>

                    <telerik:AjaxUpdatedControl ControlID="tlkasycupMultipleFile" />

                    <telerik:AjaxUpdatedControl ControlID="radgSupAcctFileUploads"  />

                </UpdatedControls>

            </telerik:AjaxSetting>

            <telerik:AjaxSetting AjaxControlID="radgSupAcctFileUploads">

                <UpdatedControls>

                    <telerik:AjaxUpdatedControl ControlID="radgSupAcctFileUploads" />

                </UpdatedControls>

            </telerik:AjaxSetting>

        </AjaxSettings>

    </telerik:RadAjaxManager>

Here is code behind

protected  void tlkasycupMultipleFile_FileUploaded(object sender, Telerik.Web.UI.FileUploadedEventArgs e)

    {

//here code to save files in DB and its works fine

// after that bind the RadGrid

  radgSupAcctFileUploads.DataSourceID = odsFileUploads.ID;

                    radgSupAcctFileUploads.DataBind();

}

This is my scenario 
Tsvetina
Telerik team
 answered on 27 Aug 2012
1 answer
122 views

i have configured a radsplitter as below, on IE it is working on other browsers it is not (Mozilla, Opera, Safari, Chrome)

 

<telerik:RadSplitter runat="server" ID="RadSplitter1" Width="100%" BorderSize="0"

 

 

BorderStyle="None" PanesBorderSize="0" Height="100%" Orientation="Horizontal">

Vessy
Telerik team
 answered on 27 Aug 2012
1 answer
243 views

Hi!

Is there anyway to have a button on the editor that when clicked brings up a browse of the file system, and when image is selected the image is both uploaded and inserted into the markup?  Is there an easy way to do this? Or would I need make a Custom Dialog for the editor?

Thanks!
Rumen
Telerik team
 answered on 27 Aug 2012
1 answer
69 views
We've recently upgraded to .724 of Telerik and now an empty grid's text appears cut off and wrapped to about 7 rows?
This happens regardless if it's custom or the default text. I've included an attachment to further illustrate my point.

It's as though the text is trying to fill a column that is 10 px wide and ends up wrapping? Is this an issue with the latest release?

Thanks,
Jay

Here's my grid markup code:
<telerik:RadGrid ID="grdMarkups" AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="false"
          PagerStyle-Mode="NextPrevNumericAndAdvanced" runat="server" Width="99.9%" Height="99.9%"
          AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" GridLines="None">
          <MasterTableView AllowPaging="false" NoMasterRecordsText="This document does not currently have any markups associated with this version">
              <Columns>
                  <telerik:GridBoundColumn DataField="Item_Name" HeaderText="Name" Visible="true" ItemStyle-Wrap="true">
                  </telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Last_Edit" HeaderText="Last Edit" HeaderStyle-Width="25%"
                      ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true">
                  </telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Original_Filename" HeaderText="Original File"
                      Visible="false" ItemStyle-Wrap="true" HeaderStyle-Width="15%">
                  </telerik:GridBoundColumn>
                  <telerik:GridHyperLinkColumn DataNavigateUrlFields="MarkupURL" UniqueName="Markup"
                      HeaderTooltip="Click to view more details about the document" HeaderText="View"
                      Text="View" Target="_blank" HeaderStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                      ItemStyle-HorizontalAlign="Center">
                  </telerik:GridHyperLinkColumn>
                  <telerik:GridTemplateColumn HeaderText="Download" UniqueName="Download" HeaderStyle-Width="11%"
                      HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="false">
                      <ItemTemplate>
                          <button value="Download" style="width: 90%" title="Download this document" class="contactInfoXXSmall"
                              type="button" onclick="downloadSingleDocument('<%# Eval("Id") %>');">
                              Download</button>
                      </ItemTemplate>
                  </telerik:GridTemplateColumn>
                  <telerik:GridTemplateColumn HeaderText="View" HeaderStyle-Width="5%" HeaderStyle-HorizontalAlign="Center"
                      ItemStyle-HorizontalAlign="Center" Visible="false">
                      <ItemTemplate>
                          <button value="View" style="width: 90%" title="View this document" class="contactInfoXXSmall"
                              onclick="viewSingleDocument('<%# Eval("Id") %>');">
                              View</button>
                      </ItemTemplate>
                  </telerik:GridTemplateColumn>
                  <telerik:GridBoundColumn DataField="Id" Visible="false">
                  </telerik:GridBoundColumn>
              </Columns>
          </MasterTableView>
          <ClientSettings EnableRowHoverStyle="false">
              <Selecting AllowRowSelect="true" />
              <Scrolling AllowScroll="true" UseStaticHeaders="true" />
          </ClientSettings>
      </telerik:RadGrid>
Radoslav
Telerik team
 answered on 27 Aug 2012
9 answers
200 views
hi,
I am using this code to change time value in javascript:

var timePicker = $find('<%= From_Time.ClientID %>');
timePicker.get_dateInput().set_value("01:00 PM");

but I got error says  timePicker  is null !
I have checked control ID, its correct, I don't know what is the problem 

help please !
Eyup
Telerik team
 answered on 27 Aug 2012
3 answers
114 views
Hi All,

I am using asp.net 2.0. 

How to populate the data from the controls to a rad grid without saving to database by clicking the add button. And later i want to add the values to database by clicking the save button.

Can any body help me out for this.

Regards,
Sandy
  
Princy
Top achievements
Rank 2
 answered on 27 Aug 2012
1 answer
61 views
Hi,

I am creating a StackedBar chart from the code behind, where each item on the Y axis is the name of a Customer, and the X values are the amount of invoices completed/outstanding today. Please see the attached screenshot for an example.

It's working well, except the labels for each item on the Y axis is a meaningless number (1-5). How can I get the label to be 'Name' property of each item?

Thanks - the code is below

IEnumerable<Invoice> invs = Invoice.GetTestInvoices(100);
var s = from i in invs
     group i by i.Name;
 
ChartSeries chtOutstanding = new ChartSeries("Outstanding", ChartSeriesType.StackedBar);
ChartSeries chtCompleted = new ChartSeries("Completed", ChartSeriesType.StackedBar);
chtOutstanding.Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside;
chtCompleted.Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside;
foreach (var item in s.OrderBy(a => a.Key))
{
    chtCompleted.AddItem(item.Where(a => a.Status == 1).Count());
    chtOutstanding.AddItem(item.Where(a => a.Status != 1).Count());
}
 
RadChart1.Series.Add(chtOutstanding);
RadChart1.Series.Add(chtCompleted);
Petar Marchev
Telerik team
 answered on 27 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?