Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
I've been passed a task of presenting a web based image onto which a user can place markers (symbols such as triangles, squares, circles, dotted lines etc, preferrably in preset colours). The brief was to present the users with a list of these symbols that they could select then click on the image to 'place' them (basically, custom brushes or stamps - similar to the circle and rectangle already present).

I've been going through the custom tools options but can't see if this is possible nor not.

Is it possible, or is this something that hasn't been implimented (yet)?

Thanks in advance for your response.
Vessy
Telerik team
 answered on 11 Aug 2014
1 answer
354 views
Hi,
  I have a small issue while exporting data to export i have 50k records in my grid, when i'm exporting to pdf getting System.OutOfmemory exception.
  Is there any way to resolve this issue.
  feel happy if solution like below.
 1) when its reaching to out of memory exception application should display a popup window by displaying message like 'there is no space in RAM ..bla..bla' or The size of the file exceeds to the current free size of the RAM.

Can someone plz help in this issue.

Thanks ,
Jagadeesh.

Princy
Top achievements
Rank 2
 answered on 11 Aug 2014
1 answer
197 views
Hi

I have a requirement of loading images in a thumbnail rotator and on click of the thumbnail, open the image in bigger size. The user then should be able to edit the image like cropping, adding text etc and should be able to save it back to the database in the blob format.

I am successful in loading the images as thumbnails in a RadRotator control, from the database using datasource.
However, could you advise if it's possible to load the clicked image in a new RadImageEditor control in Rotator.ItemClick event. And then save it back to the database when it's edited (cropped, marked, text added etc)

Thanks
Slav
Telerik team
 answered on 11 Aug 2014
1 answer
291 views
i am developing a tool where i need a drag and drop option in the treeview. i found about telerik which is easier way to use that in asp.net.
multiple people will be working on this tool in organization. So can i use telerik webUI dll in building the application?.. Do i need to buy it or can i use it for free of cost.
I am just using Telerik Dll please suggest me.
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2014
1 answer
284 views
I want to keep max width of Radgrid to 1200px

I am adding cloumns dynamically ,

my requirement is to increase width dynamically as cloumns are added and scrolls when it reach to 1200px


thanks
kishor
Princy
Top achievements
Rank 2
 answered on 11 Aug 2014
3 answers
238 views
Hi

Im using the AutoCompleteBox control to search items via a Web Api and selected value then stored as token. When submitting the form the saving of the tokens work fine but the token no longer appear in the box - its as if its lost from the view state. The functionality to search again is also lost from the box.

Any ideas or advise, see ASPX markup below:

<telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteCostCenter" EmptyMessage="Search" Width="100%" ViewStateMode="Enabled" EnableViewState="true"
InputType="Token" DropDownPosition="Automatic" DropDownWidth="550" DropDownHeight="200" OnClientRequesting="autoComplete.Requesting" Skin="MetroTouch" MinFilterLength="3" >
<WebServiceSettings Method="search" Path="~/api/cost/" />
</telerik:RadAutoCompleteBox>

Shinu
Top achievements
Rank 2
 answered on 11 Aug 2014
1 answer
144 views
Hi Team,

Can we apply jquery to get the checked item and apply the css?
Can I do the same as I am doing for RoleName, means need to apply the jquery for radlistbox

function SaveRolePermissions() {

var roleName = $("#" + "<%=txtRoleName.ClientID %>");
var permission = $find("<%=rdlistMenuPermission.ClientID %>");
var validationMsg = headerMessage;

var validationFlag = false;
if (!jQuery.trim(roleName.val())) {
roleName.css("background-color", colorCode);
validationMsg = validationMsg + "Role is required \n";
validationFlag = true;
} else roleName.css("background-color", "");
var item;
var items;
var i;
if (permission._checkedIndices == "") {
items = permission.get_items();
for (i = 0; i <= items.get_count() - 1; i++) {
item = items.getItem(i);
item._element.style.backgroundColor = colorCode;
}
validationMsg = validationMsg + "Permission is required \n";
validationFlag = true;

} else {
items = permission.get_items();
for (i = 0 ; i <= items.get_count() - 1; i++) {
item = items.getItem(i);
item._element.style.backgroundColor = "";
}
}

if ( validationFlag) {
alert(validationMsg);
return false;
}
return true;


}
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2014
6 answers
501 views
Hi,
I can access a TextBox control in RadGrid <DetailItemTemplate> in server side using C# [the code below works fine], but how can I access the TextBox in client side using javascript?

ASPX code:

<telerik:RadGrid ID="Grd_Pad" runat="server" GridLines="None" AllowSorting="true" AllowPaging="true" PageSize="20"AllowFilteringByColumn="true" AutoGenerateColumns="false" AllowMultiRowSelection="true" AllowMultiRowEdit="true"AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true"DataSourceID="Sql_Pad" Width="100%">
    <SortingSettings SortToolTip=""/>
    <FilterItemStyle Width="100%"></FilterItemStyle>
    <GroupingSettings CaseSensitive="false"></GroupingSettings>
    <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric"/>
    <MasterTableView DataKeyNames="pad_id" CommandItemDisplay="Top" EditMode="InPlace"
        GroupLoadMode="Client" GroupsDefaultExpanded="true" TableLayout="Fixed" Width="100%">
            <telerik:GridTemplateColumn DataField="pad_name" HeaderText="Show Hide" SortExpression="pad_name"
                UniqueName="pad_showhide" CurrentFilterFunction="Contains"
                ShowFilterIcon="false" FilterControlToolTip="" FilterImageToolTip="" FilterControlAltText=""
                FilterControlWidth="100%">
                <HeaderStyle HorizontalAlign="Left" Width="5%"/>
                <ItemStyle HorizontalAlign="Left" Width="5%"/>
                <ItemTemplate>
                    <telerik:RadButton ID="Btn_Pad_Toggle" runat="server" Text="Toggle" ButtonType="StandardButton"
                        ToggleType="CheckBox" AutoPostBack="true" OnClick="CsPadShowHide">
                        <ToggleStates>
                           <telerik:RadButtonToggleState Text="Show"/>
                           <telerik:RadButtonToggleState Text="Hide" Selected="true"/>
                        </ToggleStates>
                    </telerik:RadButton>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        <DetailItemTemplate>
            <telerik:RadTextBox ID="Txt_Pad_Dtl" runat="server" TextMode="MultiLine" InputType="Text" Wrap="false"
                Label="" Text='<%# Eval("pad_text") %>' EmptyMessage="None..."
                AutoPostBack="false" Display="false" ReadOnly="true"
                BorderColor="#25A0DA" BorderWidth="1px" Width="100%" Height="200px">
            </telerik:RadTextBox>
        </DetailItemTemplate>
    </MasterTableView>
</telerik:RadGrid>

C# code:
protected void CsPadShowHide(object s, EventArgs e)
{
    RadButton btn = (RadButton)s;
    GridDataItem di = (GridDataItem)btn.NamingContainer;
    RadTextBox pad = di.DetailTemplateItemDataCell.FindControl("Txt_Pad_Dtl") as RadTextBox;
    //pad.Display = true; // Ali - works
    pad.Display = btn.SelectedToggleState.Selected;
}




Ali
Top achievements
Rank 1
 answered on 11 Aug 2014
2 answers
95 views
Hi All,

A seemingly novice issue but I fail to figure out the solution. In my radgrid, I have cells with dataformatstring = "{0:p}", which give for example a value of 0.01 a value of 1% on the grid when batch editing. Problem occurs when I try to update the cells.

While the value includes a "%" sign, the update value then becomes string rather than decimal that is required by my data entry and returning error. I'm quite sure there should be a official work around, any advice will be much appreciated!

Best Regards.

Konstantin Dikov
Telerik team
 answered on 11 Aug 2014
1 answer
134 views
Column does not belong to table GroupedTable when export data in excel using GridHyperlinkColumn of telerik radgrid
Daniel
Telerik team
 answered on 11 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?