Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
190 views
This is really cool!

I've played with this app for about five minutes and I like where its going, but I've got a few suggestions that will make the app more useable for me.

On the colorize page, it would be nice if we could specifiy an exact base color in addition to manipulating the hue and saturation.  That may make color matching a little easier. 

Also, if we decide to use the Hue / Saturation tool, we should be able tto see the Hex value for the base color was generated.

On the fine-tune section, if we remove the generated image, there's no way to get it back.

Also, If we want to just tweak the color of the generated image, there's no way to do that.

This looks really promising guys.  Thanks for the hard work. 
Amon-ra Mackie
Top achievements
Rank 1
 answered on 26 May 2009
2 answers
120 views
I have a user control that I am using to display thumbnails and within the control it defines a tooltip for each item with a larger version of the image and some text about it. All this is packaged (current;y) within a listview and working nicely.

I wanted to add a javascript dropshadow to the larger image (the one in the tooltip) but cannot get this to work. The shadow library I am using is very simple and uses jQuery.Within the shadow function it tries to get the image.outerWidth and outerHeight but these are always coming through as 0 (hence no shadow displays).

If I use the eact same code in the main part of the user control for the thumbnail image the image is shown correctly with the drop shadow. Any idea why this wouldn't work in the tooltip?

The code is as follows:

  
        <script> 
            $(document).ready(function() { 
                $('#<%= imgWork.ClientID %>').shadow(); 
            }); 
        </script> 
 


FWIW I am also loading my own jquery.js in the Master Page - omitting this (I thought that the rad controls used jquery?) gives me script parsing errors.

Any ideas appreciated!

Mark







Mark H
Top achievements
Rank 1
 answered on 26 May 2009
0 answers
101 views
I have a 3 level hierarchical grid set up and it's working well.  I have a second grid on the page that displays records related to the row selected in the top level grid and when a new row is selected I rebind the second grid and it works great.  My problem is if a row is selected in one of the child grids it also rebinds and tries to retrieve records based on the new selected value which doesn't exist in that record source so the second grid then displays no records.  How can I identifiy which level of the hierarchical grid fired the event so I can selectively rebind the second grid?  Or is there another way I should be going about it?

Tim

Nevermind!  I just found the answer in the online help of all places (-:  It's at:
http://www.telerik.com/help/aspnet-ajax/grddistinguishgridrowsinhierarchyonitemdatabound.html

Thanks!
Tim
Top achievements
Rank 1
 asked on 26 May 2009
3 answers
315 views
Hi I have number of the same user control and a button server control on page. 
ascx:
<telerik:RadDatePicker ID="datepicker1" runat="server"  >  
<dateinput runat="server">
</dateinput>
   <Calendar runat="server"> 
     <FooterTemplate> 
         <asp:ImageButton ID="IBToday"  runat="server" ImageUrl="~/Images/Image1.gif" /> 
     </FooterTemplate> 
   </Calendar> 
</telerik:RadDatePicker>

aspx.vb
Save_Button.Attributes("onclick") = "javascript:check_attendance()"

aspx:
<uc1:TelerikDatePicker id="TelerikDatePicker1" runat="server">
 </uc1:TelerikDatePicker>
<uc1:TelerikDatePicker id="TelerikDatePicker2" runat="server">
</uc1:TelerikDatePicker>
<asp:button id="Save_Button" runat="server" Font-Bold="True" Text="Save" Width="150" Height="25"></asp:button>

function check_attendance()
{
   if (validate()==false || LeftEarlyValidate()==false)
{
window.event.returnValue=false;
}
else
{
   if (document.myform.hid_status.value=="new")
   {        
       var datepicker=document.getElementById('<%= TelerikDatePicker1.ClientID  %>');
       if(datepicker.get_selectedDate() == null)
   {
alert("Please select class date");
window.event.returnValue=false;
   }
}    
       else
       {
       document.myform.submit();
       }
       }
}
When I click on the button I should be able to check  using check_attendance() on the client side, to see if the datepicker on the usercontrol is selected or not.Let me also know how I can distinguish between the usercontrols on the aspx page if there are more than one of the user control on the page. I tried couple of things and i was unable to do it. please let me know how this can be cleared.

Thank you
John
Top achievements
Rank 1
 answered on 26 May 2009
4 answers
186 views
Hi all,

We are in the process of converting from the older ASP.NET Telerik grid to the new grid for ASP.NET Ajax and we have run into some difficulties using the GroupExpanded/Collapsed client-side methods.

The old grid used to pass in the row that was expanded/collapsed and we could perform an ajax request to let the server know that about the change in state:

 

function TaskGrid_GroupExpanded(row)

 

{

    window[

"StartAjax"].AjaxRequest(row.Control.innerText);

 

}

The new code that we have created looks like this:
function TasksPortal_GroupExpanded(sender, eventArgs)

 

{

 

    SessionWS.Set(

"TaskPortalExpandGroups", 'TaskPortalExpand~' + sender.Control.innerText);

 

 

 

    return false;

 

}

According to the help documentation, the sender object should be the datarow.  The problem is that the sender.Control.innerText statement returns the text for the entire grid and not just the current row.

Does anyone have any suggestions on how to accomplish this using the new grid?

Thanks for the help,
Greg

Trevor
Top achievements
Rank 1
 answered on 26 May 2009
0 answers
119 views
Hi,

Please check the following link:


I need to remove the frame scroll bars and when a user clicks on the filter icon just after "Action" column and enable columns, it should get width of their page and they should get the main horizontal bar of the browser and not like frame.

I am getting the following issues in Mac OS safari:

1)  Even if I don't have the columns ticked in hide/show columns filter, it is showing me all the columns


2) This is the hide/show column. Still I am getting all the columns


3) When I untick all the columns in hide/show columns, I am still getting all the columns:



4) When I click on something, then I get the following:


Please help!

Thanks,
Dhananjay
Dhananjay
Top achievements
Rank 1
 asked on 26 May 2009
3 answers
108 views
Hi there,

I got a problem here, we're using the RadCalendar to enable user select date as their birthday, the concern is user're complaining that it's hard to selet year, eg. to selet a date 1957/08/24.

Is there any way that we can enable the year&month selection as the default view?

Any idea and suggestion will be appreciated!

Thanks,
Pratap
Top achievements
Rank 1
 answered on 26 May 2009
0 answers
79 views
As I wanted to improve the performance of my tree when loading a lot of nodes on demand I switched off like suggested the "PersistLoadOnDemandNodes" property.

Unfortunately I didn't think about that then also all the check box functionality probably gets lost.

I didn't investigate further, all I noticed after was that when I do a ClearCheckedNodes(), it just ends up in an endless loop (or at least in a long lasting operation)...

Would be cool if you could intercept those errors in the affected functions.
Stefan
Top achievements
Rank 1
 asked on 26 May 2009
1 answer
74 views
hi,
 i am using Rdxmanger in one user control.
There is one page which contains this user control called "Page1.aspx"
In that page there is RadGrid.
For editing rows in radgrid i am using radwindow pop.
When i update date and closed rad window i wan to bind radgrid using radajaxmanger rebind method.
My control name is UserFilter1.
here is the method i am access in in my page 1.

 

function RebindGrid()

 

{
$find("<%= UserFilter1_telerikjaxManagerUser1.ClientID %>").ajaxRequest("Rebind");

 

 

}

Is there any other way to access this in page.
Please get back to me as soon as possible.
Thanks.




Pavlina
Telerik team
 answered on 26 May 2009
5 answers
288 views
hi,
I have a ajax modalpopupextender on one of my asp.net pages. This modal has fields and one of them is raddatepicker. My problem is that on modalpopup when i click on the button to see the calendar, calendar would go out of modalpopup and would be disabled. since background is greyed out, i thought if i increase the height of modal popup, the calendar would be selectable. but when i did that, on clicking of datepicker button, nothing happened.
has anyone got a solution?

Thanks!
Joseph Alfano
Top achievements
Rank 1
 answered on 26 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?