Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views
I'd need to have a RadSlider to look like below:
 
http://demos.telerik.com/aspnet-ajax/slider/examples/default/defaultcs.aspx

But it's graphic is quite different when I place it on my page.

The product version of my Telerik.Web.UI.dll assembly is: 2011.1.519.35

Is this the correct version? if so, it doesn't look sharp like your page?

Thanks,
Niko
Telerik team
 answered on 05 Aug 2011
1 answer
85 views
 

Hello,
I'm trying to pass the value of tab (param BE) that is clicked to show up in a grid inside RadPageView2.  For example:
Tab A and B
when Tab A is clicked, i would like the grid to come up using SqlDataSource2 with the BE field = 'A'.

Can someone help?

Thanks

<%@ Page Language="C#" MasterPageFile="Public.master" AutoEventWireup="true" CodeFile="Sample.aspx.cs" Inherits="_Default" Debug="true" %>

 

<%

 

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<

 

 

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

 

<!

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

 

head>

 

 

 

<title>Sample</title>

 

</

 

 

head>

 

<

 

 

body>

 

 

 

<form id="form1" runat="server">

 

 

 

<div><asp:scriptmanager runat="server" id="ScriptManager1">

 

 

 

</asp:scriptmanager>

 

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

 

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadWindowManager1" />

 

 

 

<telerik:AjaxUpdatedControl ControlID="lbl_message" />

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

 

<br />

 

 

 

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" AutoPostBack="true" MultiPageID="RadMultiPage1"

 

 

 

DataSourceID="SqlDataSource1" DataTextField="peo" >

 

 

 

</telerik:RadTabStrip>

 

 

 

 

<telerik:RadMultiPage ID="RadMultiPage1" runat="server">

 

 

 

<telerik:RadPageView ID="PageView1" runat="server">

 

 

 

<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server">

 

 

 

</telerik:RadGrid>

 

 

 

</telerik:RadPageView>

 

 

 

 

<telerik:RadPageView ID="RadPageView2" runat="server">

 

 

 

<telerik:RadGrid ID="RadGrid2" DataSourceID="SqlDataSource2" runat="server">

 

 

 

</telerik:RadGrid>

 

 

 

</telerik:RadPageView>

 

 

 

</telerik:RadMultiPage>

 

 

 

<asp:SqlDataSource ID="SqlDataSource1"

 

 

 

ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" runat="server"

 

 

 

SelectCommand="SELECT BE FROM Projects WHERE (FY = @FY) AND ([BA] = @BA) GROUP BY BE">

 

 

 

<SelectParameters>

 

 

 

<asp:QueryStringParameter Name="FY" QueryStringField="FY" Type="String" />

 

 

 

<asp:QueryStringParameter Name="BA" QueryStringField="BA" Type="String" />

 

 

 

</SelectParameters>

 

 

 

</asp:SqlDataSource>

 

 

 

<asp:SqlDataSource ID="SqlDataSource2"

 

 

 

ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" runat="server"

 

 

 

SelectCommand="SELECT * FROM [PROJECTS_INPUT] WHERE (([FY] = @FY) AND ([BA] = @BA) AND ([BE] = @BE)) ">

 

 

 

<SelectParameters>

 

 

 

<asp:SessionParameter Name="FY" SessionField="FY" Type="String" />

 

 

 

<asp:SessionParameter Name="BA" SessionField="BA" Type="String" />

 

 

 

<asp:SessionParameter Name="BE" SessionField="BE" Type="String" />
</
SelectParameters>

 

 

 

</asp:SqlDataSource>

 

 

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" runat="server" Height="800px" Width="1000px">

 

 

 

<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>

 

 

 

</telerik:RadAjaxPanel>

 

 

 

 

</div>

 

 

 

</form>

 

</

 

 

body>

 

</

 

 

html>

 

</

 

 

asp:Content>

 

Dimitar Terziev
Telerik team
 answered on 05 Aug 2011
3 answers
76 views
Hi,

For me radGrid's Advanced Filter menu is showing at upper side of browser, just like text shown by Response.Write
e.g.

NoFilter
StartsWith
EndsWith
GreaterThan
.....
Welcome To Vaibhav's Web Page
......

Did anyone see such behavior?

Please give your input.

Regards,
Vaibhav
Vasil
Telerik team
 answered on 05 Aug 2011
2 answers
151 views
I've got a RadAjaxPanel, enclosing a radmultipage, and a couple of radbuttons which control the navigation between the pageviews.

However the radbuttons don't seem to fire the postback event in Opera (11.50).

<telerik:RadAjaxPanel ....>
<telerik:RadMultiPage .... >
       ....
      </telerik:RadMultiPage>
     <div class="navSteps">
            <div style="float: left; width: 111px;">
                <telerik:RadButton ID="btn_previous" runat="server" AutoPostBack="true" CommandName="prev" Text="Previous Step">
                        <Icon PrimaryIconCssClass="rbPrevious" PrimaryIconTop="6" />
                </telerik:RadButton>
            </div>
            <div style="float: right; width: 95px;">
                <telerik:RadButton ID="btn_next" runat="server" AutoPostBack="true" CommandName="next" Text="Next Step">
                        <Icon SecondaryIconCssClass="rbNext" SecondaryIconTop="6"  />
                </telerik:RadButton>
            </div>
        </div>
    </div>
    <telerik:RadTabStrip ....>
        .....
    </telerik:RadTabStrip>
    </telerik:RadAjaxPanel>
Alan T
Top achievements
Rank 1
 answered on 05 Aug 2011
1 answer
139 views
Is there a way to close the RadGrid Popup Edit window manually from the code behind or client side code?
Tsvetina
Telerik team
 answered on 05 Aug 2011
1 answer
192 views
I have a RadListView and a RadDataPager.  Ive managed to set it up using standard paging but I want to use custom paging.
In standard mode, whenever I select the 'next' button, it pages the ListView, but then freezes.

I cant see how I would implement my own custom paging.

Im retrieving a list ob objects using LINQ
I pass in the current page and the pagsize, and use 'skip' in the LINQ command


protected void RadListView1_NeedDataSource(object sender, Telerik.Web.UI.RadListViewNeedDataSourceEventArgs e)
        {
            List<Business.Logic.BusinessObjects.AssociationRequest> lst = new List<Business.Logic.BusinessObjects.AssociationRequest>();
            lst = requestManager.GetArtistRequests(this.CurrentArtistID, false, this.CurrentPage, this.PageSize);
             
                 
            if (lst.Count > 0)
            {
                this.RadListView1.DataSource = lst;
            }
            else
            {
                if (RadListView1.DataSourceID == "")
                {
                    RadListView1.DataSource = new string[] { };
                }
            }
             
        }

I want to set the current page whenever I select 'next' or a page number from the datapager, how can this be done?
Vasil
Telerik team
 answered on 05 Aug 2011
1 answer
145 views
I have my Tabstrip which code is : 

<telerik:RadTabStrip ID="RadTabStrip2" runat="server" Orientation="VerticalLeft"
                                SelectedIndex="1" MultiPageID="RadMultiPage2" Width="10%">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="Batch" PageViewID="RadPageView2" CssClass="border">
                                    </telerik:RadTab>
                                    <telerik:RadTab runat="server" Text="Address" OuterCssClass="new" CssClass="border"
                                        Selected="True">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTabStrip>


My Question is that i want to insert a RadToolbar and a RadGrid on click of Batch which is inside RadTabStrip.. how can i do this?
Kate
Telerik team
 answered on 05 Aug 2011
2 answers
121 views
Hi,

my AsyncUploader just saves the files in the Temp Folder - It does not restore it in the TargetFolder with the original name and extension. I tried the TargetFolder with
in .aspx file:
TargetFolder="~/dateien"
and 
TargetFolder="./dateien"

and also in code behind: 
rauUpload.TargetFolder = Server.MapPath("~/dateien");


If the folder "dateien" does not exist - AsyncUploader does not create one and also does not throws any exception.
I also tried to create the folder "dateien" and gave "Everyone" "Full Access" (Windows 7)

Everything else works fine - AsyncUploader also "uploads" the file - but just into the temporary folder.

Another question:
My radProgressArea does not show the Speed - its everytime 00.00
and the estimated time is also everytime 00:00:00

I hope someone can help me with these problems : )

Best regards,
Raimund
Raimund
Top achievements
Rank 1
 answered on 05 Aug 2011
2 answers
171 views
Hi forum!

I would like some brief explanation how can i work with the css sprite for the radmenu button images. Currently im doing an image for each button (main and sub) and each one ias abou 2 kb witch is very bad i think. I know how css prite works (basic) and i would like to grab a 1px width image and fill the background of the items (radmenuitems) since i cant call the background-image and back-ground-repeat.

Also, i would like to know what is better in terms of performance to a website, use background-image with background-repeat and put the text as image or use background-image with background-repeat and use the normal radmenu text property (my problem here is that i can't find the font i want that is Microsoft Sans Serif that i use in photoshop)

Many thanks,
FEST
FEST
Top achievements
Rank 1
 answered on 05 Aug 2011
6 answers
76 views
Hi,

When I ajaxify a control, the original background color of white becomes pale brownish color after it returns the result.

Is this normal?
STEVEN
Top achievements
Rank 1
 answered on 05 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?