Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
184 views
I have a grid that has only a master table and is using the scroll bars.  I have only 5 columns in the grid, an edit and delete column, 2 bound columns and a button column that uses an image button.

When I go into InPlace edit mode, I get the 2 text boxes to make changes to the bound columns, but the button column does not have anything in it.

Is there any way to see this column while in InPlace edit mode?  The reason for the button is to do a spell check on one of the 2 text boxes while in edit mode.

Thanks in advance!
Eric
Top achievements
Rank 1
 answered on 30 Jul 2012
4 answers
443 views

Hi ,
         I am unable to get the file names in the RadUpload  control .

IN ASPX

   <telerik:RadUpload runat="server" id="RadUpload1" />

IN ASPX.CS

    protected void SaveChanges_Click(object sender, EventArgs e)
        {
            int count = RadUpload1.UploadedFiles.Count;                    
        }

Error :  Unable to get the Uploaded files count in Server side.

Note :  I have tried the following work arounds in below, still i didn't get the output, This control is placed under Nested Master page -> inside RadMultiPage -> RadPanelItem -> RadUpload1

http://www.telerik.com/help/aspnet-ajax/upload-uploading-ajax.html

Please check the attached sample file

Regards
Mohan


Dimitar Terziev
Telerik team
 answered on 30 Jul 2012
2 answers
129 views
When you select an image for upload the control changes its view to show a remove link and the image file.

Is it posible to preload this image from tha value shown in the database.

The idea would be that this image is persisted in the update statement for the record. If you no long want the image it can be removed and either e new one is selected or an "" is sent back to the database.
Andy
Andy Green
Top achievements
Rank 2
 answered on 30 Jul 2012
2 answers
104 views
Hello Everyone,

I have a RadGrid that uses GroupByExpressions.  I'm setting the datasource via the NeedDataSource event.  On the initial load everything loads fine and the data is displayed as expected.  Any postback that causes the data to refresh via the .Rebind() method causes the grid to lose all data.  When I remove the GroupByExpressions from the markup the grid works as expected.  I've created a simplified version with the markup and code necessary to reproduce.  We're running version 2011.3.1305.40.  Does anyone have any ideas on how to fix this?  Thanks.

Here is the markup:
<telerik:RadScriptManager runat="server" ID="ScriptManager1"></telerik:RadScriptManager>
 
 <telerik:RadGrid runat="server" ID="grdServices" AutoGenerateColumns="false"
     Width="300px" Height="650px"
     onneeddatasource="grdServices_NeedDataSource"
     onselectedindexchanged="grdServices_SelectedIndexChanged" >
     <MasterTableView DataKeyNames="ServiceId" NoMasterRecordsText="" NoDetailRecordsText="" Width="100%" TableLayout="Fixed" GridLines="None">
 
         <GroupByExpressions>
             <telerik:GridGroupByExpression>
                 <GroupByFields>
                     <telerik:GridGroupByField FieldName="ServiceType" FieldAlias="Type"  />
                 </GroupByFields>
             </telerik:GridGroupByExpression>
         </GroupByExpressions>
 
         <Columns>
             <telerik:GridBoundColumn DataField="ServiceId" Visible="false"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="ServiceType" Visible="false" ></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="Name" HeaderText="Service" ItemStyle-Wrap="false" ></telerik:GridBoundColumn>
         </Columns>       
     </MasterTableView>
     <ClientSettings Selecting-AllowRowSelect="true" EnableRowHoverStyle="true" EnablePostBackOnRowClick="true" AllowGroupExpandCollapse="false" AllowDragToGroup="false">
         <Scrolling AllowScroll="true" UseStaticHeaders="true" />
     </ClientSettings>
 </telerik:RadGrid>
 
 <asp:Button ID="btnRefresh" runat="server" onclick="btnRefresh_Click" Text="Refresh" />

Here is the code behind:
protected void Page_Load(object sender, EventArgs e)
{
 
}
protected void grdServices_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    List<Service> Services = new List<Service>();
    Services.Add(new Service() { ServiceId = 1, ServiceType = "My Service", Name = "srv 1" });
    Services.Add(new Service() { ServiceId = 1, ServiceType = "My Service", Name = "srv 2" });
    Services.Add(new Service() { ServiceId = 1, ServiceType = "My Service", Name = "srv 3" });
 
    Services.Add(new Service() { ServiceId = 1, ServiceType = "Your Service", Name = "srv 4" });
    Services.Add(new Service() { ServiceId = 1, ServiceType = "Your Service", Name = "srv 5" });
    Services.Add(new Service() { ServiceId = 1, ServiceType = "Your Service", Name = "srv 6" });
 
    grdServices.DataSource = Services;
}
 
protected void grdServices_SelectedIndexChanged(object sender, EventArgs e)
{
 
}
 
protected void btnRefresh_Click(object sender, EventArgs e)
{
    grdServices.Rebind();
}
 
public class Service
{
    public int ServiceId { get; set; }
    public string ServiceType { get; set; }
    public string Name { get; set; }
}

Joel Richman
Top achievements
Rank 1
 answered on 30 Jul 2012
3 answers
77 views
Hello: 
I have an rendering issue with the radeditor inside the radgrid control editform.  please see the attached image when I copy and Paste data from an excel sheet, I face the rendering issue. Same information repeats please see line item 3 or 4. and also the table tab appears  out of alignment.

  <EditFormSettings EditFormType="Template">
                <FormTemplate>
                  <telerik:Radeditor runat="server" ID="RadEditor1" SkinID="BasicSetOfTools" ToolsFile="BasicTools.xml"     Height="500px"              Content='<%# Bind("ExtractionProcedure") %>' >
</telerik:Radeditor>
    </FormTemplate>
            </EditFormSettings>
        </MasterTableView>

Please advice!!!

Rumen
Telerik team
 answered on 30 Jul 2012
1 answer
137 views
I was curious as to how I could get an image to center inside the the RadImageEditor.

For example, I have an RadImageEditor control that is 362x362. If I load an image in it that is 150x 200, I would like for it to center itself inside the editor rather than sit to the top or left side. I'd also like it to dynamically center based on the image size properties as different sized images will be used.

Is this possible with this control?
Dobromir
Telerik team
 answered on 30 Jul 2012
2 answers
197 views
I have an issue when my page loads and I try and click inside a rad text box, I can't.  It will not set focus.  The only way I can get into the text box is through tabbing.  This only appears to happen in fire fox...I am using version 13.0.1.  Wondering if anyone else may be having a similar issue?

Thank you,
Tad
TAD RHODES
Top achievements
Rank 1
 answered on 30 Jul 2012
2 answers
321 views
Is there a way to place a hyperlink in the header column of a Radgrid View.

Some of my columns contain a multiple sets of abbreviations... What makes this worse is that each company (which is an attribute of the page) have different abbreviations. What I wanted to do was make a column header that can be clicked that does the sorting with a question mark on the end that hyperlinks to an information page that gives the specific information about the abbreviations.

I tried to do this similar to how it would be done with an ordinary gridview:
 <telerik:GridBoundColumn DataField="Availability" 
      FilterControlAltText="Filter Availability column" FilterControlWidth="20px" 
      HeaderText="Status<a href='~/Reports/CodeList.aspx?coid=<%#Session("CoID")%>&property=status' target='_blank'>?</a>"; 
      SortExpression="Availability" UniqueName="Availability">
</telerik:GridBoundColumn>

The error that I get is: 

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
Parser Error Message: Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'a' is of type 'System.Web.UI.HtmlControls.HtmlAnchor'.
 

Is there anyway to actually place a hyperlink in the column header?
Morgan
Top achievements
Rank 1
 answered on 30 Jul 2012
3 answers
103 views
Hello,
This is error is throwing when page is redirecting. Can I redirect a page when radajax manager is there ?


Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE HTML PUB'.
Maria Ilieva
Telerik team
 answered on 30 Jul 2012
3 answers
167 views
HI,

Could you fine folks provide some samples for integrating the new Kendo UI with the exisitng Telerik controls?
Thanks,

Brian
Pavlina
Telerik team
 answered on 30 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?