Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
395 views

Hi,

 

I have to customise File Explorer to save and read files from a UNC path (eg.\\ComputerName\SharedFolder\Resource) that resides on a shared folder. I am saving the file definitions on database except the content which is being saved on the above path.

I am able to achieve file save functionality with simple c# code. Selecting the file from gridview is reading the file from above path and creating a preview successfully (making use of a generic handler here). However, I can't delete this file, as the delete icon is disabled.

I can make sure that user has got full permissions on this path.

Another issue is that, when the control is loaded for the first time and there is no content in it, all the control buttons i.e upload, delete etc.. are disabled.

Can you please suggest any solution to this issue?

 

Thanks.

 

Vessy
Telerik team
 answered on 24 Aug 2016
13 answers
223 views

I am using the exact example as shown here -http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/hierarchical-grid-types-and-load-modes/several-tables-at-a-level 

I am using SeverOnDemand on Master and DetailTables. 

Using below line in RadGrid1_DetailTableDataBind(), all the rows in the masterTable gets expanded on click of the Expand toggle button.

 RadGrid1.MasterTableView.HierarchyDefaultExpanded = True
e.DetailTableView.HierarchyDefaultExpanded = True

 

How to make the row expand or collapse on toggle sever side?

 

Any help is appreciated. Thanks.

Maria Ilieva
Telerik team
 answered on 24 Aug 2016
5 answers
181 views
G'Day,

I am using the RadScheduler (Q3 2009) within moss and all was fine until our client requsted additional information be displayed within the scheduler.

It looks like the information can be displayed by populating the Appointment.Description property with the required text should be the solution, however it does not get displayed on screen. Only the Appointment.Title is shown.

The data is bound to the RadScheduler via a custom Provider, which returns a Generic list of Appointments.

If I interrogate the data being bound to the RadScheduler during the RadScheduler_AppointmentInsert I find that the Description property holds the expected text.

Thanks

Andrew
Peter Milchev
Telerik team
 answered on 24 Aug 2016
2 answers
79 views

Hi,

We're using your radhtmlchart to display subscriptions data by month, and this data is dynamically. Sometimes, there is a huge white gap at beginning and ending of the chart which i can't remove (see the attachment). 

For the X axis, i have set the MaxDate and MinDate values with the first and last possible dates and tried to set Step config but it don't works. The MinValue and MaxValue for Y axis works as expected.

Is there something i can try to minimalize this white gaps?

Kind regards,

Jelle

Joana
Telerik team
 answered on 24 Aug 2016
2 answers
84 views

I have an odd problem on the zooming on Stock Chart, the X Axis becomes corrupt.

When I zoom it sorts itself out.

If just plot the points with a default Layout it is OK unzoomed.

I am doing this for both types:

var xAxis = chart.PlotArea.XAxis;

xAxis.Step = Convert.ToDecimal(xAxis.Items.Count * 0.10);
xAxis.BaseUnitStep = Convert.ToInt32(xAxis.Step);
xAxis.BaseUnit = DateTimeBaseUnit.Minutes;
xAxis.EnableBaseUnitStepAuto = false;

Please see attached images.

Rick
Top achievements
Rank 1
 answered on 24 Aug 2016
1 answer
619 views

Hi,

I need to click on some link in my rad grid.

I have 2 like per row.

on each link im using the following code till i get an answer:

<telerik:GridHyperLinkColumn   
     UniqueName ="LinkRpt"
     DataTextFormatString="S/N {0} "
     DataTextField="UsrSN"
     DataNavigateUrlFields="CaseID"
     DataNavigateUrlFormatString="~/Site/mypage.aspx?var={0}"
     HeaderText="Repport link" >
</telerik:GridHyperLinkColumn>

 

As you can see im using " Request.QueryString["var"] ".
But i want the var to be in Session. Because this 'var' is a sensitive data.

I know how to put things in session. Session["field1"] = "value1";

But  i can't do that with a GridHyperLinkColum because there is no OnClick event.
Its the same for the GridButtonColumn.
So i guess i have to use GridTemplateColumn with a RadButtonin it.

<telerik:GridTemplateColumn >
    <ItemTemplate>
        <telerik:RadButton
            ID="RadButton1"
            runat="server"
            Text="See Repport."
            OnClick="RadButton1_Click" >
        </telerik:RadButton>
    </ItemTemplate>
</telerik:GridTemplateColumn>

In this RadButton1_Click, what should i do to get the CaseID of the row clicked.

How do i navigate to my "~/Site/mypage.aspx" ?
if i use Javascript:

function OnClientClicking(button, args) {
                window.location = button.get_navigateUrl();
                args.set_cancel(true);
            }

with the OnClientClicking how do i set things in session ?

 

Any suggestion will be appreciated.

Regards,
Pierre.

 

 

 

Eyup
Telerik team
 answered on 24 Aug 2016
2 answers
210 views

I have a RadGrid up and running, and have added GridImageColumn. It works well. However, not all rows have an associated image. How would I setup a default image that would display in those instances? 

 

<telerik:GridImageColumn DataType="System.String" DataImageUrlFields="PartFamily"
  DataImageUrlFormatString="images/family-images/{0}.png" AlternateText="Family Image" DataAlternateTextField="PartFamily"
  ImageAlign="Middle" ImageHeight="75px" ImageWidth="75px"  HeaderText="Image Column"
  
</telerik:GridImageColumn>

Matt
Top achievements
Rank 1
 answered on 23 Aug 2016
1 answer
151 views
Instead of asking for single or multiple entries why not simply have a property called selectamount and enter the amount of selections that can be selected. This way we can restrict selections to the amount we need. Multiple is way to vague and single can be set to 1.
Ivan Danchev
Telerik team
 answered on 23 Aug 2016
6 answers
426 views
Hi Everybody,

I have downloaded the latest version(2011.2.915.35) trial of telerik.

When i create an event in rad scheduler by default its creating the event as recurring event,
i don't want to create events as recurring event.


and also while deleting  and editing its showing an confirmation popup 

For edit its asking "Editing a recurring appointment" with two options "Edit only this occurence" & "Edit the series"

Have attached the screen shot as well.

i don't want this confirmation window.

Anyone please give me suggestions to remove this confirmation window and to change creating appointment as recurring by default.

Thank You
Francisco
Top achievements
Rank 1
 answered on 23 Aug 2016
3 answers
265 views
my code below.
no loading is shown - I have min time = 14 seconds
no alert is ever called
my grid I create and bind with code behind.

why is the loading panel not showing? what am I missing
is there a way for me to explicit call the show loading?
function requestStart(sender, eventArgs) {
    alert('Request start initiated by: ' + eventArgs.get_eventTarget());
}
<telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" MinDisplayTime="14000"  Skin="Default" Modal="true">
<asp:Label ID="Label2" runat="server" ForeColor="Red">Loading... </asp:Label>
<asp:Image ID="Image1" runat="server" Width="224px" Height="48px" ImageUrl="/colors.png"></asp:Image>
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ClientEvents OnRequestStart="requestStart" />
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="gv">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="gv" LoadingPanelID="LoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid RenderMode="Lightweight" ID="gv" runat="server" AutoGenerateColumns="false" CellSpacing="1" EnableViewState="true" />
Viktor Tachev
Telerik team
 answered on 23 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?