Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views
I'm using standalone Image Manager and Document Manager outside of the RadEditor. Is there anyway I can disable the insert button, and change the text of the Cancel Button, and also disable the properties.

I'm using these dialogues as a seperate asset manager and want to be able to just give the basic upload and preview functionality of these controls without confusing the end user!

Also with the Document Manager, is there anyway to preview i.e select a pdf and have it open in a seperate window?

Thanks

Jon.
Rumen
Telerik team
 answered on 31 Oct 2008
1 answer
121 views
I have a simple grid used for CRUD operations and all of a sudden I noticed it stopped working for both Inserts and Updates (dunno about deletes).  If I click Add New Record and type in my info and then click Insert, my breakpoint in my InsertCommand method is not even hit.  However if I repeat this action all works as normal.  So if the user inserts the record twice, the second attempt will work.

    <telerik:RadGrid ID="ApplicationGrid" runat="server" AutoGenerateColumns="False"
        GridLines="None" AllowAutomaticInserts="True" AutoGenerateDeleteColumn="True"
        AutoGenerateEditColumn="True" OnNeedDataSource="ApplicationGrid_NeedDataSource"
        OnInsertCommand="ApplicationGrid_InsertCommand" OnUpdateCommand="ApplicationGrid_UpdateCommand"
        OnDeleteCommand="ApplicationGrid_DeleteCommand" OnItemDataBound="ApplicationGrid_ItemDataBound">
        <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" DataKeyNames="Id">

Any help is appreciated.

Thanks,
Scott
Scott
Top achievements
Rank 1
 answered on 31 Oct 2008
1 answer
144 views
I need to right align the text in a RadNumericTextBox but doing so causes the input caret to disappear when the control has focus.  What am I doing wrong?

Thanks,
Raman

--- Sample Page---
<%@ Page Language="C#" AutoEventWireup="true" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
            OutputCompression="AutoDetect">
        </telerik:RadScriptManager>
        <telerik:RadNumericTextBox ID="RadTextBox1" Runat="server" Width="125px">
            <focusedstyle horizontalalign="Right" />
        </telerik:RadNumericTextBox>
        <telerik:RadNumericTextBox ID="RadTextBox2" Runat="server" Width="125px">
        </telerik:RadNumericTextBox>
    </form>
</body>
</html>
Dimo
Telerik team
 answered on 31 Oct 2008
1 answer
77 views
I am trying to create custom skin for rad grid.
1- Created new folders in root of the application "RadControls\Grid\FileStore" where FileStore is a my skin name.
2- Copy existing "Office2007" skin into "RadControls\Grid\FileStore" and renamed it to "FileStore.css"
3- Change "_Office2007" to "_FileStore" in all the css class.
(Ex. .RadGrid_Office2007 to .RadGrid_FileStore)

In my RadGrid i changes following code
"Skin="FileStore" EnableEmbeddedSkins="false""

I don't see any style effect on my page.

Please let me know where i am making mistake.

Dimo
Telerik team
 answered on 31 Oct 2008
1 answer
106 views
Hi,

I have created a Sharepoint Webpart page with the RadComboBox. The controls display with their list ok.
I want the RadComboBox to fire a client javascript function but i can't get it to work. The mark up rendered to the page looks ok, but the event does not fire.

When I try this in a normal ASP page it works ok.

<script type="text/javascript">
//<![CDATA[
function OnDropDownListChanged_Area (sender, args) {
                      alert("Does not get to here");  
                    }
                    }//]]>
</script>

<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();

Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_height":0,"_skin":"Gray","_text":"Area","_uniqueId":"ctl00$m$g_6c85ed41_4e7e_4153_aabb_b3258fd82c06$lstArea","_value":"","_virtualScroll":false,"clientStateFieldID":"ctl00_m_g_6c85ed41_4e7e_4153_aabb_b3258fd82c06_lstArea_ClientState","collapseAnimation":"{\"type\":12,\"duration\":200}","itemData":[{"selected":true,"imageUrl":"/PublishingImages/well.ico"},{"value":"Area,6937958b-9f45-4af8-8e01-c7e9d511bd8e"}],"selectedIndex":0}, {"selectedIndexChanged":OnDropDownListChanged_Area}, null, $get("ctl00_m_g_6c85ed41_4e7e_4153_aabb_b3258fd82c06_lstArea"));
});
//]]>
</script>

Veselin Vasilev
Telerik team
 answered on 31 Oct 2008
1 answer
91 views
hi,

    I am facing the problem with radwindow, like i have button on radwindow it performs some action. when i open radwindow its contents and size is fixed. but after i perform action its (button click) its gets expends vertically with blank space. can u let me know how to solve this problem. very urgent.

Thanks,
Vikram
Georgi Tunev
Telerik team
 answered on 31 Oct 2008
9 answers
105 views
can i add a grid on the server side? let say i want to display the number of grids base on my records count from the database? thanks.
Daniel
Telerik team
 answered on 31 Oct 2008
1 answer
79 views

Zdrasti at Telerik,

I am using the radpanelbar control q2 2008 (2008.2.723.35) of your controls.

I want to fill the RadPanelItems dynamically (from a DataSet). At the same time, I want to create the templates on these items dynamically as well.

The way i am doing this is:

I set the datasource for the radpanelbar control, which contains a DataTable, and deliveres the RadPanelItems.

To create the content on the templates, i am using a class, which is derived from the ITemplate interface and use it for the itemtemplate-property of the RadPanelItems.

I fill the itemtemplate of the clicked radpanelitem in the server side ItemClick-event.

Trying it out as I mentioned, I have a problem I cannot work around:

I start the page and the panel is not expanded. When I click on an PanelItem, the event ItemClick is fired, and I load the data and the ItemTemplate in the code-behind. The content, however, is not displayed. When I click the PanelItem a second time, the (right and well-formated) content is displayed for less than a second, and then the panel is collapsed.

Thank you very much for your help!

Bernd Degen

Paul
Telerik team
 answered on 31 Oct 2008
2 answers
125 views
Hello,

I have updated the RadComboBox control from v2.2.0 to 2.8.6 and also I have used it in the WebPart for the MS Sharepoint. Everything works correct in the Web Application, but I get the "RadComboBox 2.8.6 trial version. Copyright Telerik © 2002-2007. To remove this message, please purchase a developer version" message in the MS Sharepoint when using this WebPart. Why does it appear ?
Ian Booth
Top achievements
Rank 1
 answered on 31 Oct 2008
3 answers
362 views
hi at all

i have a problem with the radalert

i want show a radalert after  postback, i can  but my problem is that the radalert
continuous showing in each postback or if i push on the update page button.
my code is this

on the server
//I use this because a iam using a RadAjaxManager   
 RadAjaxManager1.ResponseScripts.Add("Sys.Application.add_load(pru);")

on the client

function pru()
{
    var owdn=radalert("say something");
    owdn.add_close(clean);
}
function clean()
{
    Sys.Application.remove_load(pru);
// this function is solution to my problem , but isn't  complete because if i press a //update button, the radalert come back again¡
}
what can i do ? what's wrong ? iam programming on visual basic 2005





Lenny_shp
Top achievements
Rank 2
 answered on 31 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?