Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
358 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
176 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
167 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
69 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
13 answers
1.1K+ views
I have a RadGrid which gets populated with data from a SQL Server database. One of the columns in the RadGrid shows data that was collected from a multiline textbox (which allows user to obviously enter carriage returns). In the codebehind of my aspx page, I convert the database line breaks to BR tags so that the column properly displays the line breaks in the browser. I give users the ability to export the grid to excel, however, I just noticed that the BR tags are causing extra rows to be created in the excel file that gets generated (a new row is created in the excel file for each BR tag instead of keeping all the data for each record in one row). Here is the code I use to generate the excel file:

grdMetrics.ExportSettings.ExportOnlyData =true;
grdMetrics.ExportSettings.IgnorePaging =true;
grdMetrics.ExportSettings.OpenInNewWindow = true;
grdMetrics.MasterTableView.ExportToExcel();

How do I fix this? What are my options?
Daniel
Telerik team
 answered on 02 Jan 2013
1 answer
73 views
Hi ,

I'm facing one strange issue

In RAD grid ,i have an edit icon as shown in IMG1. First time when I Click on Edit Icon RAD grid scroll position is remains same not going down as shown in IMG2. But the scroll position suppose to be like shown in IMG3

But second time when i click on edit icon in rad grid scroll position is going down as expected as shown like in IMG3.

My issue is when i load the page first time and click on edit icon in rad grid , getting the scrollbar issue.


and my code for the above is shown in IMG4
Eyup
Telerik team
 answered on 02 Jan 2013
1 answer
48 views
Hi,

I have one bring string and I would like my text to move  one word at a time to  the left of screen and load new character on right of screen at the same time.  Can you provide some sample code for this?

Thanks,
Prava
Slav
Telerik team
 answered on 02 Jan 2013
1 answer
155 views
Hi !!

I have a RadEditor in aspx page and aspx page is in a RadWindow. Now, I want to hide the "page attributes" section from "page properties" dialog and shrink it to fit with rest sections i.e Body Attribute and Margins.

I tries a lot using javascript and jQuery but I am not getting the result. Please see attached image. Awaiting for your valuable response.

Thanks
Rumen
Telerik team
 answered on 02 Jan 2013
2 answers
106 views
Hello,

I am trying to set the time of a RadTimePicker from CodeBehind. No matter how I do it a date always shows in the TimePicker. When I click into the control the time I set is there; hwoever, it goes back to date when it loses focus.

If I set the Time with the RadTimePicker, it shows the time, even after losing focus.

It is very confusing why a time picker would even contain selected date properties as it is a time.

I have tried this a suggested in the forums but id doesn't work for me either.
Dim oTime As DateTime = Convert.ToDateTime(m_TimeValue)
m_TimePicker.SelectedTime = oTime.TimeOfDay

Any suggestions?

Thanks,
John S.
John S.
Top achievements
Rank 1
 answered on 02 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?