Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
i wanted to make the captcha in hebrew so at least spammers that dont read hebrew cannot write in.
so i've added 

RadCaptcha1.CaptchaImage.CharSet = "1234567890אבגדהוזחטיכלמנסעפצקרשת";
RadCaptcha1.CaptchaImage.TextChars = Telerik.Web.UI.CaptchaPossibleChars.CustomCharSet;

and i've got nice hebrew captcha
but when i tried to enter what i've seem in the image it told me that i written the wrong code.
it showed "אבגדה"
so i've entered "א" "ב" "ג" ד" ה"
and then i figured that i needed to enter the letters from the left to right 
"ה" ד" "ג" "ב" "א"
and it passed just fine.
can you add an option to parse the text in reverse that way you get full RTL support.

i can do reverse in javascript on post back but i rather not using a patch and have a good product.
Slav
Telerik team
 answered on 20 Oct 2011
1 answer
117 views
Let's say i want a table with two header rows like in the attached image. It looks to me like the header association will not take into account the second header row. Is this the case? If so, is there a workaround other than manual insertion of ids into the cells for the second header row.

Thank you,
Matt
Rumen
Telerik team
 answered on 20 Oct 2011
3 answers
200 views
protected void Page_Load(object sender, EventArgs e)
 {
      aRadGrid.HeaderContextMenu.ItemCreated += new RadMenuEventHandler(HeaderContextMenu_ItemCreated);
}
protected void Page_Init()
{
       ...
       aRadGrid.MasterTableView.EnableHeaderContextMenu = true;
       ...
}
protected void HeaderContextMenu_ItemCreated(object sender, Telerik.Web.UI.RadMenuEventArgs e)
        {
            RadMenuItem anItem = e.Item;
            switch (anItem.Value)
            {
                case "SortAsc":
                case "SortDesc":
                case "SortNone":
                case "GroupBy":
                case "UnGroupBy":
        case "FilterMenuParent":
        case "FilterMenuContainer":
                    anItem.Visible = false;
                    break;
                case "ColumnsContainer":
                    anItem.Text = "Afficher/Cacher la colonne";
                    break;
                default:
                    if (anItem.Level == 2 && ((RadMenuItem)anItem.Parent).Value == "ColumnsContainer")
                    {
                        //string ww = anItem.Attributes["ColumnName"];
                        if (anItem.Value.EndsWith(XarcT.UN_S)
                            || anItem.Value.EndsWith(XarcT.UN_IUA)
                            || anItem.Value.EndsWith(XarcT.UN_M)
                            || anItem.Value.EndsWith(XarcT.UN_L)
                            || anItem.Value.EndsWith(XarcT.UN_Limg))
                        {
                            anItem.Visible = false;
                        };
                    };
                    break;
            }
        }
Hello,
I am using the show/hide columns option of HeaderContextMenu (RadGrid).
It works very well.
But at each time the rebind() is executed, the radgrid doesn't remember the columns which are hided or shown.
Is there a way after each postback, to remember the hided/shown columns.

I've tried to handle the event:

aRadGrid.HeaderContextMenu.ItemCreated +=

new RadMenuEventHandler(HeaderContextMenu_ItemCreated);
but it doesn't fire.

 

I manage the radgrid programmatically...
aRadGrid.MasterTableView.EnableHeaderContextMenu =

true;

Regards

 

Bernard
Top achievements
Rank 1
 answered on 20 Oct 2011
1 answer
119 views
Hi there ; I have a page (C#.Net 2010 web application) which contains a RadRibbonBar  and some other Telerik Rad Controls. I encountered that the page get refresh at first load (for second time) and also on each post back loads two times per each postback, so all my session variables refresh and miss their previous values. Then I removed the RadRibbonBar, and the second postBack (loop) removed successfully. Now I'm looking for a way to have a RibbonBar, but prevent it from refresh the page for the second trip. Any suggestions would be appreciated.
Kate
Telerik team
 answered on 20 Oct 2011
3 answers
143 views
Hi, 

Is it possible to export een radgrid with detailtabels to a pdf.
The detailtables are shown (decollapsed) so the pdf that wil be generated is shown with the detailtabels.

greetings
Princy
Top achievements
Rank 2
 answered on 20 Oct 2011
6 answers
402 views
Dear friends,

I tried to use 2 column radcombobox with "product name" and "product code". data filed is ID column. For 50 or 100 records its fine. but 1000 entries and 2 column are killing people on local computer and also on server. I tried to implement  "google like" search, as you type web service would list available products, I succeeded but its also slow and some client computers says:

Windows Internet Explorer
---------------------------
Stop running this script?

A script on this page is causing Internet Explorer to run slowly.
If it continues to run, your computer might become
unresponsive.


I dont know why this message appears but, at the moment I dont care. All I need to solve is 2 column searchable fast combobox. I also tried to use regular radcombo with 1 column only (productname) its also slow, even while dropping down.

Can someone confirms this situation is normal ? What kind of searchable THING should I use. Is the radcombobox wrong component for this ?

best regards.

heres the code:

                <telerik:RadComboBox ID="cboProducts" runat="server"
                    DataSourceID="SqlDataSourceProducts" DataTextField="productname"
                    DataValueField="guidid" Filter="StartsWith">
                </telerik:RadComboBox>
    <asp:SqlDataSource ID="SqlDataSourceProducts" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
        ProviderName="<%$ ConnectionStrings:ConnectionStringNET.ProviderName %>" DataSourceMode="Dataset"
        EnableCaching="true"
        SelectCommand="SELECT guidid, [productname], productcode FROM productsORDER BY [productname]">
        <SelectParameters>
        </SelectParameters>
    </asp:SqlDataSource>

Dimitar Terziev
Telerik team
 answered on 20 Oct 2011
1 answer
111 views
Basically, I want the type of animation featured in "Buttons" or "ButtonsOver", and I want to be able to scroll one index at a time.  I have 4 items displayed out of 6 possible, with wrap frames on.  Due to the nature of the web page that I'm displaying, that's exactly what I want.

When I have 'buttons' turned on, and I click one of my image buttons, the control scrolls 6 indexes in that direction.  The result is something that looks very awkward and strange.  


<telerik:RadRotator ID="RadRotator1" CssClass="bottom-Rotator" runat="server" Width="600px"
    ItemWidth="150" WrapFrames="true" ScrollDuration="500" PauseOnMouseOver="true" RotatorType="Buttons"
    ControlButtons-LeftButtonID="img_left" ControlButtons-RightButtonID="img_right">
</telerik:RadRotator>

In conclusion, that's the animation style I want, and I do want to be able to click the control buttons to have to move the items in the control.  But I want to scroll 1 index at a time, and not 6.

Moving onto ButtonsOver....

This lets me scroll one index at a time.  Cool, exactly what I want.  However, this happens when I mouse-over the buttons, and not when I click.  This makes it awkward if I want to visit this site using a smartphone, because, in order to scroll, I have to touch the arrow buttons, then touch off the buttons in order to stop the scrolling.

Basically what I would like is the ability to scroll one index at a time as if using buttonsOver, but only when I click the arrow keys, as in using buttons.  But there seems to be no way to do that, unless I am wrong, and I hope I am.  It seems weird to me that there is no way to control how many indexes I bypass when I click an arrow image.

I could select "FromCode", and use javascript/vb.net functions to manually change the index, but wouldn't I lose my animation then?

In conclusion, I'm looking for a solution that scrolls the items one at a time, when I click one of the set images, and still gives me the scrolling animation that's like "ButtonsOver".  Is that possible with this control?
Slav
Telerik team
 answered on 20 Oct 2011
1 answer
152 views
I want to create interface similar to this example http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx

How can i add following thing in above example
1. Multiple row selection on master grid 
example.. if i select customer ALFKI and ANATR on master grid
detail grid display order belong to above two customer
2. display multiple selected order ID in label or textbox  

 Thanks
Shinu
Top achievements
Rank 2
 answered on 20 Oct 2011
1 answer
219 views

Hello,

Is there a way to select the GridHyperLinkColumn row via the designer when clicking the particular link in the designer for the grid?  If not, how would I accomplish this task via server-side code?

I have attached the designer code for my grid.

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="GridStyle">
<tr>
    <td>
        <telerik:RadGrid ID="RadGridDrillDown" runat="server" 
            AutoGenerateColumns="false" AllowSorting="True" AllowPaging="true" Skin="Simple" ClientSettings-Resizing-AllowColumnResize="true"
            ItemStyle-Wrap="false" Width="95%" HeaderStyle-Wrap="false" PageSize="10"
            OnNeedDataSource="RadGridDrillDown_NeedDataSource" OnItemDataBound="RadGridDrillDown_ItemDataBound">
            <PagerStyle Mode="NumericPages" />
            <ClientSettings>
                <Scrolling AllowScroll="true" UseStaticHeaders="true"  />
            </ClientSettings>
            <MasterTableView TableLayout="Fixed" AllowMultiColumnSorting="true" DataKeyNames="SampleDetailId" ShowFooter="false" PagerStyle-AlwaysVisible="false" >
                <NoRecordsTemplate>
                    <asp:Label ID="lblMsg" runat="server" Text="No Records found"></asp:Label>
                </NoRecordsTemplate>
                <Columns>
                    <telerik:GridHyperLinkColumn HeaderText="Order #" HeaderButtonType="TextButton" DataTextField="OrderNumber" DataTextFormatString="{0}" 
                        DataNavigateUrlFields="SampleDetailId" DataNavigateUrlFormatString="CustomerSearch.aspx?SampleDetailId={0}" HeaderStyle-Width="100" />
                    <telerik:GridBoundColumn HeaderText="Type" HeaderButtonType="TextButton" DataField="Category2" HeaderStyle-Width="100" />
                    <telerik:GridBoundColumn HeaderText="Status" HeaderButtonType="TextButton" DataField="OrderStatus" HeaderStyle-Width="200" />
                    <telerik:GridDateTimeColumn HeaderText="Ship Date" HeaderButtonType="TextButton" DataField="ShipDate" DataFormatString="{0:dd/MM/yyyy}" HeaderStyle-Width="200" />
                    <telerik:GridBoundColumn HeaderText="First Name" HeaderButtonType="TextButton" DataField="RequestorFirstName" HeaderStyle-Width="200" />
                    <telerik:GridBoundColumn HeaderText="Last Name" HeaderButtonType="TextButton" DataField="RequestorLastName" HeaderStyle-Width="200" />
                    <telerik:GridBoundColumn HeaderText="PD" HeaderButtonType="TextButton" DataField="RequestorPd" HeaderStyle-Width="50" />
                    <telerik:GridBoundColumn HeaderText="Facility Name" HeaderButtonType="TextButton" DataField="InstitutionName" HeaderStyle-Width="200" />
                    <telerik:GridBoundColumn HeaderText="State" HeaderButtonType="TextButton" DataField="RequestorState" HeaderStyle-Width="100" />
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </td>
</tr>
</table>


Thanks,

Princy
Top achievements
Rank 2
 answered on 20 Oct 2011
1 answer
89 views
Hi,

I'm using RadScheduler in Month view, but when creating a new appointment, I'd like the "All Day" checkbox to default to unchecked.

How can I do this?

Thanks,
Jason
Jason
Top achievements
Rank 1
 answered on 20 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?