Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Using GridTemplateColumn and ItemTemplate is RadAsyncUpload ,RadBinaryImage go to change image in one row , the same image change to all rows . [selected row change the image that row will be change the image remaining row will not change the image]please help me..


http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=binaryimage  
       
      This demo I can't understand pls help me another sample code
Maria Ilieva
Telerik team
 answered on 06 Feb 2014
1 answer
118 views
what I have is List(of Notification) with Notification having a List(of SendAttachments), I want to show all the fields for the notification and a column with multiples links (one link per attachments in the List(of SendAttachments) in order for the user to click on the attachment that he wants.

I got this in my codebehind:
1.rgvNotification.DataSource = CType(GetNotificationHistoryByDetailId(CDetailID), IEnumerable)
2.rgvNotification.Rebind()


and this in my aspx:
01.<Columns>
02.    <telerik:GridBoundColumn
03.        DataField="NotifiedDate"
04.        HeaderText="Notified Date"
05.        UniqueName="NotifiedDate">
06.        <HeaderStyle Width="140px"></HeaderStyle>
07.    </telerik:GridBoundColumn>
08.    <telerik:GridBoundColumn
09.        DataField="NotifiedPersonName"
10.        HeaderText="Notified Person(s)"
11.        UniqueName="NotifiedPersons">
12.        <HeaderStyle Width="150px"></HeaderStyle>
13.    </telerik:GridBoundColumn>
14.    <telerik:GridBoundColumn
15.        DataField="NotifiedEmail"
16.        HeaderText="Notified Email(s)"
17.        UniqueName="NotifiedEmails">
18.        <HeaderStyle Width="410px"></HeaderStyle>
19.    </telerik:GridBoundColumn>
20.    <telerik:GridBoundColumn
21.        DataField="Message"
22.        HeaderText="Message"
23.        UniqueName="Message">
24.        <HeaderStyle Width="410px"></HeaderStyle>
25.    </telerik:GridBoundColumn>
26.    <telerik:GridBoundColumn
27.        DataField="Attachments.Count"
28.        HeaderText="Sent Docs"
29.        UniqueName="SentDocs">
30.        <HeaderStyle Width="100px"></HeaderStyle>
31.    </telerik:GridBoundColumn>
32.     
33.</Columns>

but I don't know how to create the links dynamically in the last column, any Help?


Kostadin
Telerik team
 answered on 06 Feb 2014
1 answer
44 views
http://localhost:19003/Telerik.Web.UI.WebResource.axd?compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2013.1.417.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a38d7db1e-d3bf-44c8-8ec4-ec2917fcd015%3aef4a543%3aeede8ae4%3a8cee9284%3aa3b7d93f%3ae59a902c%3bTelerik.Web.UI.Skins%2c+Version%3d2013.1.417.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad16e8365-294c-4b33-9cbf-b70fd757bfd2%3ac2fde81d%3a247d1fa3%3a7a57e389%3a7a91433a
Vessy
Telerik team
 answered on 06 Feb 2014
1 answer
52 views
Hi,
I have attached one image for explaining my problem.
I do not want to use HTML chart as my coding has been done using Rad Chart.
I just want some GUI changes.
Danail Vasilev
Telerik team
 answered on 06 Feb 2014
1 answer
116 views
Hi,
I have attached one image for explaining my problem.
I do not want to use HTML chart as my coding has been done using Rad Chart.
I just want some GUI changes.
Danail Vasilev
Telerik team
 answered on 06 Feb 2014
3 answers
41 views
Cursor is not placed at the end of the object (outside) after inserting a new media from the toolbar in Chrome

Here is an example taken from the demos- the "welcome" is inserted inside the object tags (marked in Bold) .
(In IE it's working fine- the "welcome" is placed after the closing tag (</object>) .

hello<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" width="150" height="150" type="application/x-oleobject">
<param name="URL" value="/aspnet-ajax/Editor/Img/UserDir/Marketing/Windows XP Startup.mp3"><embed src="/aspnet-ajax/Editor/Img/UserDir/Marketing/Windows XP Startup.mp3" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer">welcome</object>

How can make the cursor to be placed at the end of the object?

Thanks,
Nikolay
Telerik team
 answered on 06 Feb 2014
4 answers
326 views
Hi,

On my parent page I have defined OnClientClose() event:

function OnClientClose(oWnd, args) {
        var arg = args.get_argument();
        if (arg) {
            var prevSelectedItem = arg.prevSelectedItem;
            var radMenu = $find("<%=RadMenuInventoryActions.ClientID%>");
            var menuItem = radMenu.findItemByText(prevSelectedItem);
            if (menuItem) {
                menuItem.set_selected(true);
            }
        }
}

On the page which I’m showing on the Radwindow, I have a cancel button.  I’m using the following function as an event handler for its OnClientClick event.
function CancelAdd() {
                var prevSelectedItem = document.getElementById('PrevSelectItemHiddenField').value;
                var oArg = new Object();
                oArg.prevSelectedItem = prevSelectedItem;
                GetRadWindow().Close(oArg);
                     
}
I’m using the same function as an event handler for close (x) button of Radwindow.

$telerik.$(document).ready(function () {
          var oWnd = GetRadWindow();
          var closeButton = $telerik.$(".rwCloseButton", oWnd.get_popupElement());
          closeButton.click(function () {
               CancelAdd();
        });
});

The issue I'm facing is when I close the Radwindow using Cancel button I get the correct value on the parent page in arg.prevSelectedItem.
But When close the Radwindow using Close button I get arg.prevSelectedItem  as undefined.

Please let me know if there is a way to achieve this.

Thanks,
Priyank
Priyank
Top achievements
Rank 1
 answered on 06 Feb 2014
8 answers
374 views
Hello All,

I use radchart contron in my application, It's looking nice in UI
But In chart it display all result data and pointmark, But i want only one pointmark display in chart which have maximum value in chart data.

please help me for solution.

.aspx code
radgrid>Series>telerik:ChartSeries>Appearance
<PointMark Corners="Round, Rectangle, Rectangle, Rectangle, 3" Visible="true">
     <FillStyle MainColor="Red" SecondColor="Red"></FillStyle>
     <Border Color="Red" />
</PointMark>

.cs code
List<UserMaster> _ListUserMaster = _BlueprintReportUserSearchController.GetTimeChartDataLastMonth(DateTime.Now.AddMonths(-1), DateTime.Now.AddDays(-1));

ChartSeries _ChartSeries = RadChart1.Series.GetSeries(0);
 _ChartSeries.Appearance.ShowLabels = true;

RadChart1.DataSource = _ListUserMaster;
RadChart1.Series[0].DataYColumn = "TotalUsage";
RadChart1.PlotArea.XAxis.DataLabelsColumn = "XAxisNew";
RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = -90;
RadChart1.DataBind();
Danail Vasilev
Telerik team
 answered on 06 Feb 2014
1 answer
81 views
Hi..,

I got This error when i Perform any operation in RadGrid For Example when i Click Edit button Error fire Unable to do Next Operation on Screen  may i know the reasons for that tried googling and telerik forms not getting the value bale suggestion. 
Can any One Do the Need Full ASAP.
 
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0


Regards,
Suman
Konstantin Dikov
Telerik team
 answered on 06 Feb 2014
2 answers
102 views
Hi,

We're using the RadEditor in the administration area of our custom CMS, and we'ld like to be able to specify multiple files for the ContentAreaCssFile property:
  1. the main website skin CSS file of the target website, so the (text) styling in the editor looks familiar to the person editing the content
  2. a temporary CSS file just for the editor itself, eg. to specify a temporary visible (dashed) border for a DIV element which is inserted using a custom dialog

How do we accomplish this?

Best regards, Marja


Ianko
Telerik team
 answered on 06 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?