Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
104 views
Dear All, 

I am using Needdatasource for binding data to Radgrid and with DataTable.
 
I need to restrict the access to edit only one column of a row instead of all columns of that row.
I need to know a simple way to get the updated values of selected row.
I need to update other columns of the grid on the base of updated column on EditCommandEvent occured. 

Please Help.
Abdul
Top achievements
Rank 2
 answered on 08 Mar 2011
2 answers
1.1K+ views
Hi Sir/Ma'm
 
We have developed a web application , how can run application without address bar, location, toolbar etc.
I 'm able to do with script as window.open.. but this will open a new window.
But i want my login page to load without address bar, location, toolbar ...]

Please help me to achieve this

Thanks
 
Maria Ilieva
Telerik team
 answered on 08 Mar 2011
1 answer
118 views
Can someone please help?

Within our application one of the radwindows opens up very narrow, as if it has been squished. To make it more curious, this is only happening on a couple of our users' machines. I originally thought it was an IE7 problem, as doesn't happen on my development machine running IE8, but I can't reproduce it in IE7 on a different machine. The application is fairly large and has well over 50 calls to open a RadWindow and this doesn't happen to any of them apart from this one. One other thing to mention, this is the only dialog were we use the Scheduler control...

Please help,
Thanks,
Adam
Georgi Tunev
Telerik team
 answered on 08 Mar 2011
5 answers
247 views
hi,

I am using 2010_3_1215 in my project and it was/is running fine with Internet explorer and Firefox. But when it comes to Google Chrome the page is completely blank.

I have attached screens from Firefox and Google Chrome. I took screenshot from older version of chrome and it was working fine then. But since I upgraded to Google Chrome 9.0.597.107, the page is not loading. HTML is alright, but screen is blank.

You can check it on http://schoolsonline.nig2.com. Try loading the same page in Chrome, IE and Firefox.

I am using following versions for each browser
IE: 8.0.7600.16385
Firefox: 3.6.13
Chrome: 9.0.597.107

Can you please let me know what could be wrong. Please let me know if you need any input from my end.

Thanks
Atit
Pavlina
Telerik team
 answered on 08 Mar 2011
1 answer
88 views

The Telerik Ajax manager is failing after we upgraded the ajaxcontroltoolik to release 40412. 
Below is the error message we get
 

Error: i.get_postBackElement() is undefined
Source File: http://localhost:4893/ScriptResource.axd?d=enlwfGsN91-xkS94RzKX7sLms2VTblyggVMBXwhOwZLLQAMoCNt4HigDu4pIA3QsY8OWoHMDxSvfEvKNoBf6kbp7KkHLvFdQJs90w2a593xiHJ9ZhDyyYKJ1VxjLiAMQC1JwjF6R6qNrblCmNbNInQ2&t=ffffffffc4b90375
Line: 107

Error: c.get_request()._get_eventHandlerList is not a function
Source File: http://localhost:4893/ScriptResource.axd?d=enlwfGsN91-xkS94RzKX7sLms2VTblyggVMBXwhOwZLLQAMoCNt4HigDu4pIA3QsY8OWoHMDxSvfEvKNoBf6kbp7KkHLvFdQJs90w2a593xiHJ9ZhDyyYKJ1VxjLiAMQC1JwjF6R6qNrblCmNbNInQ2&t=ffffffffc4b90375
Line: 183

screen shots are attached

Vinkel
Top achievements
Rank 1
 answered on 08 Mar 2011
4 answers
324 views
I am currently using a column with a boolean value to determine whether to enable/disable certain buttons on the itemselected event client side. The problem I have is that  I do not want to display this column to the user but I can't set visible=false as then the javascript will fail. For a radgrid I can set Display=false, but that option does not seem to exist with a treeList?

<telerik:RadTreeList ID="radTreeList" runat="server" AutoGenerateColumns="false"
                AllowPaging="false" PageSize="5" DataKeyNames="ID" ParentDataKeyNames="ParentTemplateId"
                OnNeedDataSource="radTreeList_NeedDataSource" Skin="Web20">
                <ClientSettings AllowPostBackOnItemClick="false">
                    <Selecting AllowItemSelection="True" />
                    <ClientEvents OnItemSelected="itemSelected" />
                </ClientSettings>
                <Columns>
                    <telerik:TreeListBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name" />
                    <telerik:TreeListBoundColumn DataField="ModifiedTime" HeaderText="ModifiedTime" UniqueName="ModifiedTime" />
                    <telerik:TreeListCheckBoxColumn UniqueName="chkHasChildren" DataField="HasChildren"
                        HeaderText="HasChildren" />
                </Columns>
            </telerik:RadTreeList>

tim
Top achievements
Rank 1
 answered on 08 Mar 2011
7 answers
167 views
Hi. I want a simplified configuration of the RadEditor. However, I get an error:

"The string parameter 'key' cannot be null or empty"

All I have done is create a new page and add an Editor control. That obviously runs fine. I've created an "Editor" directory in my site and copy BasicTools.xml (from the telerik demos). I then set the editor control's ToolsFile property to reference the xml. Just making that change causes the site not to run and I get the above error message. What's wrong?
Dobromir
Telerik team
 answered on 08 Mar 2011
2 answers
79 views
Hi,

I am trying to show the tooltips of a special day with tooltip manager.

I am trying to follow the below example:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipcalendar/defaultcs.aspx

I have the following code in page load and day render
protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        RadCalendarDay day = new RadCalendarDay();
        day.Date = new DateTime(2011, 3, 25);
        day.ToolTip = "Test <br /> Test.";        
        cal.SpecialDays.Add(day);               
    }
}
 
protected void cal_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
{
    if(e.Day.Date == new DateTime(2011, 3, 25)){
        TableCell cell = e.Cell;
        cell.Attributes.Add("id", cal.ClientID + e.Day.Date.Day.ToString());
        ttMngr.TargetControls.Add(e.Cell.Attributes["id"], true);
    }
}

I also have the following items in the aspx page
<telerik:RadAjaxLoadingPanel ID="loading" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>   
<telerik:RadToolTipManager ID="ttMngr" runat="server" Width="230px" Height="300px" RelativeTo="Element" >
</telerik:RadToolTipManager>
<telerik:RadAjaxPanel ID="ajaxPnl" runat="server" LoadingPanelID="loading">
   <telerik:RadCalendar ID="cal" runat="server" ondayrender="cal_DayRender">
   </telerik:RadCalendar>
</telerik:RadAjaxPanel>

But when I hover over the day it doesn't show the tooltip with the tooltip manager, a regular tooltip opens.

What am I missing here?

Thank you...
Eric
Top achievements
Rank 1
 answered on 08 Mar 2011
5 answers
80 views
Hi,

I am trying to change the month displayed with a button click in code-behind.

<telerik:RadCalendar ID="RadCalendar1" runat="server" ShowOtherMonthsDays="false"></telerik:RadCalendar> <br />
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Prev</asp:LinkButton>  <br />
<asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">Next</asp:LinkButton>
protected void LinkButton1_Click(object sender, EventArgs e)
{
    RadCalendar1.FocusedDate = RadCalendar1.FocusedDate.AddMonths(-1);
}
 
protected void LinkButton2_Click(object sender, EventArgs e)
{
    RadCalendar1.FocusedDate = RadCalendar1.FocusedDate.AddMonths(1);
}

When I go back to February 2011 from March 2011 I can only see days from March 2011 although Focused Date is a date from February 2011.

Thank you...
Eric
Top achievements
Rank 1
 answered on 08 Mar 2011
2 answers
83 views
Stupid problem probably but make me crazy. I have link button. I want to display tool tip with image when i hover it with mouse. But I am not able to show image in tool tip. I get only tool tip without image This is my code. Please help.
*.aspx

<script type="text/javascript"><br>
    var currentTooltip = null;<br>
<br>
<br>
    function OnClientBeforeShow(sender, args) {<br>
        //Hide the currently visible tooltip <br>
        if (currentTooltip) {<br>
            if (currentTooltip != sender) currentTooltip.hide();<br>
            return;<br>
        }<br>
<br>
<br>
        currentTooltip = sender;<br>
        args.set_cancel(true);<br>
    }<br>
<br>
<br>
    function centerTooltip(img) {<br>
        if (currentTooltip) {<br>
            currentTooltip.set_contentElement(img);<br>
<br>
<br>
            //use the method updateLocation because it does not call WebService's method which loads the content <br>
            currentTooltip.updateLocation();<br>
            currentTooltip = null;<br>
        }<br>
    }<br>
    </script><br>
<br>
<br>
 <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="center"<br>
        RelativeTo="BrowserWindow" OnClientBeforeShow="OnClientBeforeShow" EnableShadow="true" Height="500" Width="500">        <br>
    </telerik:RadToolTipManager><br>
<br>
<asp:LinkButton ID="LinkButton1"    runat="server">over me</asp:LinkButton>

*.cs
protected void Page_Load(object sender, EventArgs e)<br>
 {<br>
            this.RadToolTipManager1.TargetControls.Add(this.LinkButton1.ClientID, "~/camry xle wheel.jpg", true);<br>
 }
Marin Bratanov
Telerik team
 answered on 08 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?