Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views
Is it possible to superimpose a data entry form over the ImageGallery (and "float" it using responsive techniques)?  I have attached a file with a sample of what I am asking about.

If this is possible, any starting example, however simplistic, would be most helpful.

Thanks in advance for any assistance!

Lynn
winston
Top achievements
Rank 1
 answered on 03 Aug 2014
6 answers
122 views
Hi,

Unless I’m missing something obvious I can’t seem to find
a way to expand a treeview to a particular node?


Please advise?

TIA
Doug
Top achievements
Rank 1
 answered on 01 Aug 2014
2 answers
257 views
Hi,

Given a node is it possible to get the value of the root node?

1
    222
    333
        888
5
    555
    444

for exmaple if I was on 888 I need to be able to find 1, likewise if I was on 444 I need to be able to find 5

TIA.
Doug
Top achievements
Rank 1
 answered on 01 Aug 2014
14 answers
1.9K+ views
hello ,
i am using radgrid and i would like to set a default insert value at bounded column value .but in insert mode the defualt value didn't set to the text box in edit form.. 
please help me to find out the issue. 
shervinrv
Top achievements
Rank 1
 answered on 01 Aug 2014
5 answers
90 views
I have a page which displays a number of images in a RadRotator set in CoverFlowButtons mode. I've recently upgraded the controls to the latest release and added the RenderMode="Auto" option but when run in a modern browser (so using Lightweight or Mobile rendering) the left and right buttons display inside the area of the control where the images reside. So, in its initial state the right button is displayed over by an image and if I scroll the images so that the early images scroll off the left side, in the process they overdisplay the left button. If I switch the Rotator back to "Classic" RenderMode then the buttons correctly display outside the main control area correctly. Is this a bug or something I can manipulate in the styles?

If it helps, the Rotator is full width of the page along the bottom. The containing div has left and right padding of 10px.

Thanks in advance
PaulH
Top achievements
Rank 1
 answered on 01 Aug 2014
2 answers
169 views
I using a rad panel bar in which the the first rad panel item is a rad grid and hence i want to increase the width of the panel item to fit the width of the rad grid.
Please tell how i can achieve this when i click on the expand button.

Thank You
akpaga akpaga
Top achievements
Rank 1
 answered on 01 Aug 2014
3 answers
283 views
Hello,

I need to create a RadGrid object dynamically and be able to export the data to excel. Below is the simple class I created. No error occurs but nothing happens. No file is being created. Am I missing something?

==============================================

Public Class MyOwnClass
        Inherits MyBaseClass
        
        Dim WithEvents ExportBillRadGrid As New RadGrid

        Protected Sub RowControlInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Init
            Page.Controls.Add(ExportBillRadGrid)
        End Sub

        Public Overrides Sub imgDL_Click(ByVal sender As Object, ByVal args As ImageClickEventArgs)
        
            Try
                ExportBillRadGrid.DataSource = SetQueryStrings()
                ExportBillRadGrid.DataBind()
                
                ExportBillRadGrid.ExportSettings.ExportOnlyData = True
                ExportBillRadGrid.ExportSettings.IgnorePaging = True
                ExportBillRadGrid.ExportSettings.OpenInNewWindow = True
                ExportBillRadGrid.ExportSettings.FileName = "Exported-Billing-Data"
                ExportBillRadGrid.MasterTableView.ExportToExcel()


            Catch ex As Exception
                Me.Page.ErrorOnPage = True
                Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)

            Finally

            End Try

        End Sub

        Private Function SetQueryStrings() As DataTable

            Dim query As String = "select * from myTable"


            Dim dt As DataTable = New DataTable()
            Dim connString As String = ConfigurationManager.ConnectionStrings("connString").ToString()
            Dim conn As SqlConnection = New SqlConnection(connString)
            Dim adapter As SqlDataAdapter = New SqlDataAdapter()
            Dim qryCmd = New SqlCommand(query, conn)

            adapter.SelectCommand = qryCmd
            adapter.Fill(dt)

            Return dt
        End Function
    End Class

==============================================

I really need your help.

Thanks!
--
Matt
kith
Top achievements
Rank 1
 answered on 01 Aug 2014
1 answer
97 views
How do you set a MaxLength of edit textboxes at runtime if you don't know the control name? All my columns are autogenerated based on the dataset coming back from a stored proc. 
Kate
Top achievements
Rank 1
 answered on 01 Aug 2014
2 answers
487 views
Good morning,
I have a Radgrid in my aspx.page with some columns:

<telerik:RadGrid ID="EmplReqGrid" runat="server" Skin="Office2010Blue"
GridLines="None" AllowPaging="true" AllowSorting="true"
onexcelmlexportrowcreated="EmplReqGrid_ExcelMLExportRowCreated"
onexcelmlexportstylescreated="EmplReqGrid_ExcelMLExportStylesCreated"
onitemcommand="EmplReqGrid_ItemCommand" onitemcreated="EmplReqGrid_ItemCreated"
onitemdatabound="EmplReqGrid_ItemDataBound"
onneeddatasource="EmplReqGrid_NeedDataSource"
onpageindexchanged="EmplReqGrid_PageIndexChanged"
onpagesizechanged="EmplReqGrid_PageSizeChanged"
onpdfexporting="EmplReqGrid_PdfExporting"
onsortcommand="EmplReqGrid_SortCommand" >
<ExportSettings FileName="EmplReqRpt" OpenInNewWindow="true" IgnorePaging="true" ExportOnlyData="true">
<Excel Format="ExcelML" FileExtension="xls"/>
<Pdf FontType="Subset" PaperSize="letter" />
</ExportSettings>
<MasterTableView AutoGenerateColumns="false" AllowMultiColumnSorting="true" >
<CommandItemSettings />
<Columns>

<telerik:GridBoundColumn HeaderText="Eis-Id" DataField="PRI" UniqueName="PRI" ReadOnly="True" SortExpression="PRI" HeaderButtonType="TextButton" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="NAME" DataField="NAME" UniqueName="NAME" Visible="false" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="ReqNo" DataField="TRKNO" UniqueName="TRKNO" ReadOnly="True" SortExpression="TRKNO" HeaderButtonType="TextButton" >
</telerik:GridBoundColumn>

I would like to hide column name "NAME" from radgrid when displaying on the screen and unhide when I click on export to excel button:

protected void ExporttoExcel_Click1(object sender, ImageClickEventArgs e)
{
try
{
if (!IsPostBack)
return;

RadGrid ReqInfoGrid = (RadGrid)EmpReqReport.FindItemByValue("EmployeeData").FindControl("EmplReqGrid");
ReqInfoGrid.DataSource = Session["dtGrid"];
ReqInfoGrid.DataBind();
ReqInfoGrid.MasterTableView.ExportToExcel();

Please help.
Thanks so much.


}
catch (Exception ex)
{
throw;
}
}
Vitaly
Top achievements
Rank 1
Iron
Iron
 answered on 01 Aug 2014
3 answers
135 views
Hello,
I've downloaded the telerik scheduler.
when I use the "RadSchedule Scenario Wizard"  to add Web Service with Customer Provider, everything works fine.
I would like to make a change to allow Multiple Resources be selected.

I can see the following code in MyDbSechedulerProvider.cs ... However I cannot select more than 1 teacher and 1 student per appointment


public override IEnumerable<Resource> GetResourcesByType(RadScheduler owner, string resourceType)
{
    switch (resourceType)
    {
        case "Teacher":
            return Teachers.Values;
 
        case "Student":
            return Students.Values;
 
        default:
            throw new InvalidOperationException("Unknown resource type: " + resourceType);
    }
}
 
public override IDictionary<ResourceType, IEnumerable<Resource>> GetResources(ISchedulerInfo schedulerInfo)
{
    var resCollection = new Dictionary<ResourceType, IEnumerable<Resource>>();
 
    resCollection.Add(new ResourceType("Teacher", false), Teachers.Values);
    resCollection.Add(new ResourceType("Student", true), Students.Values);
 
    return resCollection;
}
 
public override IEnumerable<ResourceType> GetResourceTypes(RadScheduler owner)
{
    var resourceTypes = new ResourceType[2];
    resourceTypes[0] = new ResourceType("Teacher", false);
    resourceTypes[1] = new ResourceType("Student", true);
 
    return resourceTypes;
}
Boyan Dimitrov
Telerik team
 answered on 01 Aug 2014
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?