Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
135 views
I am using RadControls for ASP.NET AJAX Q3 2012.

I am using CheckBox, Which I want to set RightToLeft.
No problem exist until I use Form Decorator

After that, it does not show properly on Firefox, but still works well on chrome.

It Should be http://titrgah.com/correct.jpg
But it changed to http://titrgah.com/incorrect.jpg

Thanks for your help
farzad
Top achievements
Rank 1
 answered on 02 Jan 2013
3 answers
361 views
Hello,

I am working with a c#.Net application locally on my machine.  The application resides in the directory C:\inetpub\wwwroot\appname.

I have set up a virtual directory in IIS 7 under the application folder with a physical path which is on the SAME machine (my local machine) as the application itself.  The physical path is C:\Data\Test\scans, and the alias I gave the virtual dir is 'scans'.

I want the files in C:\Data\Test\scans to be shown in the RadFileExplorer I have set up on a page in my application.  This is how I have the RadFileExplorer set up in the codebehind:

string[] paths = new string[] { "~/scans"  };
FileExplorer1.Configuration.ViewPaths = paths;

My issue is that no files show up in the RadFileExplorer!  If I change the above code to this:

string[] paths = new string[] { "~/"  };
FileExplorer1.Configuration.ViewPaths = paths;

Then all of the folders and files in my root (application) directory are shown in the RadFileExplorer, however, the virtual directory is not being shown!

The RadFileExplorer seems to not be recognizing my virtual directory.  I am using a pass-through authentication in IIS for the virtual directory.  

Any ideas or thoughts are greatly appreciated!



Bob
Top achievements
Rank 1
 answered on 02 Jan 2013
0 answers
55 views
Hi team

is it possible to have the advanced form always opened not as modal window but as a simple form next to scheduler? (attachment). Think that the modal form is a simple form with some fields and is always open.
 
So, When you click on an appointment the behavior the advanced form will not pop up or not hide scheduler to show only the advanced form. will show both in the same page advanced form + scheduler)

thanks
mirroras
Top achievements
Rank 1
 asked on 02 Jan 2013
3 answers
151 views
Hi there

I have a server-side button handler to make changes to the database from which the RadTreeView is populated. However, after calling Databind on the tree object to reflect the changes, the node objects for the tree all lose their Value property, which is a bit of a difficulty as I need to make use of that Value in the client-side processing immediately after the postback. Is this behaviour by design, and if so, how can I refresh the property in question, to populate the Values for each node after the databind?

Thanks if you can help.

Regards

Paul Robertson
Top achievements
Rank 1
 answered on 02 Jan 2013
17 answers
198 views
Hi.

I'm integrating RadScheduler in an ASP.NET MVC 2 application and therefore have to use WebService binding (this is still true, right?)

My Problem now is that I want to cancel the insertion of an appointment if some conditions are fulfilled (e.g. the user did not specify the subject or did not specify a resource). Since I am using WebService binding I have to use the OnClientAppointmentWebServiceInserting method because server-side events are not called (correct me if I'm wrong).

My function looks like this:
OnClientAppointmentWebServiceInserting="inserting"  
function inserting(sender, eventArgs) { 
    var app = eventArgs.get_appointment(); 
    var error = false
 
    // set error = true if appointment is not valid... 
 
    if (error) { 
        alert("error"); 
        eventArgs.set_cancel(true); 
    } 

The behaviour I would expect is that the insertion of the appointment is cancelled and the inserting form does not hide. Unfortunately after the alert the form hides and - even worse - the appointment is shown in the Scheduler until I rebind.

By writing
if (error) { 
       alert("error"); 
       eventArgs.set_cancel(true); 
       sender.rebind(); 
 } 
I can achieve that the appointment is not shown, but still I want the form to remain visible so that the user can correct the errors without losing the data he already entered.

How can I achieve this behaviour? Or is it just not possible?

Any Feedback would be appreciated.

Thanks,
Fabian

PS: The demo at http://demos.telerik.com/aspnet-ajax/scheduler/examples/webservice/defaultcs.aspx allows appointments without a subject to be inserted whereas this demo at http://demos.telerik.com/aspnet-ajax/scheduler/examples/clientsideevents/defaultcs.aspx (which does not use WebService binding) does not, at least in the advanced form.
Boyan Dimitrov
Telerik team
 answered on 02 Jan 2013
1 answer
355 views
Hi, Am getting this error in .net 4.0 windows server 2008 system.
it works fine in windows 7.
here is my web.config  file.
am displaying this control in admin folder undera page.


<?xml version="1.0"?>
<configuration>
    <system.web>
      <pages theme="Admin" enableSessionState="true"></pages>
        <httpHandlers>
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </httpModules>
    </system.web>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true" />
        <handlers>
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

        </handlers>
    </system.webServer>
</configuration>

Genady Sergeev
Telerik team
 answered on 02 Jan 2013
2 answers
62 views
Hi,

Yes, I've read thru numerous posts on controls appearing behind others, and have played with position and z-index.
My issue is that I have a RadMenu with some items that "should" drop down "on top of" whatever is below them on the page.
This works fine on all of my pages except for one on which the menu items appear "behind" a Java applet that renders a diagram (the tool is NetDiagram from Mindfusion).

Everything works fine in IE and FF.  I have specified EnableOverlay="true" on the RadMenu declaration.
When I added the following script from this post, I was able to get Chrome to work, but I am still unable to get it to work in Safari.
I am running Safari 5.1.7 (7534.57.2).

<script type="text/javascript">
Telerik.Web.UI.Overlay.IsSupported = function ()
{
  //By default overlay is enabled in IE only
  //return $telerik.isIE;
  return true;
}
</script>

Any thoughts on how I can get the menu to drop down "over" the Java applet in Safari?

Many thanks in advance.

Jim (in snowy Ottawa, Canada)



jlj30
Top achievements
Rank 2
 answered on 02 Jan 2013
0 answers
165 views

I create a radlistview and bind it with objectdatasource and define a linkbutton in radlistview and linkbutton text bind to multi column in radlistview to display multi line in my radlisview.

Now I want when a user click on linkbutton, one row of radlistview that user clicked on is set to a session so I could use it in other pages.

I define selected items in radlistview itemdatabound event or in radlistview itemcommand event, but these events not fire .please help me. my code is:

<telerik:radlistview .....>

<ItemTemplate>

<asp:LinkButton ID="lbl1" runat="server" OnClick="linqbutton1_Click" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>' Text='<%#"&nbsp;&raquo;"+"buy"+" "+Eval("MelkType")+" "+Eval("MelkSize")+" meter"+" "+Eval("Melkregion") %>' style="margin-right:0px;direction:rtl;margin- "> </asp:LinkButton> <br /> <br /> </ItemTemplate> </telerik:RadListView> <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="RentalApartmentGet" TypeName="mymelkclass"> </asp:ObjectDataSource>

Mehdi
Top achievements
Rank 1
 asked on 02 Jan 2013
6 answers
164 views
I want to display the total of a single column in my radgrid(preferably in the footer), anytime the user deletes an item from the grid the total value should be updated automatically, there are similar posts on this but they are to complex for me i'm new to this.  This is my code :
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0"
    GridLines="None" AllowSorting="True" AutoGenerateColumns="False"
        Skin="WebBlue">
<ClientSettings>
<Selecting CellSelectionMode="None" AllowRowSelect="True"></Selecting>
</ClientSettings>
 
<MasterTableView AllowAutomaticDeletes="True" ShowFooter="True">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column"
            UniqueName="TemplateColumn">
            <itemTemplate>
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Image") %>' Height="100px" Width="85px"/>
            </itemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn1 column"
            UniqueName="Title" HeaderText="Title">
            <itemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("Title") %>'></asp:Label>              
            </itemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn2 column"
            UniqueName="Price(GHc)" HeaderText="Price(GHc)">
            <itemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("Price") %>'></asp:Label>              
            </itemTemplate>
            <FooterTemplate>
                <asp:TextBox runat="Server" ID="TotalTxt">
                </asp:TextBox>
            </FooterTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridClientDeleteColumn FilterControlAltText="Filter column column"
            ImageUrl="mvwres://Telerik.Web.UI.Skins, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.WebBlue.Grid.Delete.gif"
            UniqueName="column">
        </telerik:GridClientDeleteColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>
Elliott
Top achievements
Rank 2
 answered on 02 Jan 2013
0 answers
68 views

I create a radlistview and bind it with objectdatasource and define a linkbutton in radlistview and linkbutton text bind to multi column in radlistview to display multi line in my radlisview.

Now I want when a user click on linkbutton, one row of radlistview that user clicked on is set to a session so I could use it in other pages.

I define selected items in radlistview itemdatabound event or in radlistview itemcommand event, but these events not fire .please help me. my code is:

<telerik:radlistview .....>

<ItemTemplate>

<asp:LinkButton ID="lbl1" runat="server" OnClick="linqbutton1_Click" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>' Text='<%#"&nbsp;&raquo;"+"buy"+" "+Eval("MelkType")+" "+Eval("MelkSize")+" meter"+" "+Eval("Melkregion") %>' style="margin-right:0px;direction:rtl;margin- "> </asp:LinkButton> <br /> <br /> </ItemTemplate> </telerik:RadListView> <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="RentalApartmentGet" TypeName="mymelkclass"> </asp:ObjectDataSource>

Mehdi
Top achievements
Rank 1
 asked on 02 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?