Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
141 views
Hi All,
is there anyway we can change the column sort indicator to be more noticable. It would be great if somebody could please help me??

thanks,
Amol Parikh.
Amol Parikh
Top achievements
Rank 1
 answered on 15 Jul 2009
2 answers
87 views
We are using RadWindow as a Login Window with RadWindowManager. After successful login and redirection to main page, it raises below error at random when we try to make this RadWindow as visible = false..

"Microsoft JScript runtime error: Sys.InvalidOperationException: Component 'LoginWindow' was not found."
Here, LogineWindow is a RadWindow object.

It throws this error from:-

function Sys$Component$_setReferences(component, references) {
    for (var name in references) {
        var setter = component["set_" + name];
        var reference = $find(references[name]);
        if (typeof(setter) !== 'function') throw new Error.invalidOperation(String.format(Sys.Res.propertyNotWritable, name));
        if (!reference) throw Error.invalidOperation(String.format(Sys.Res.referenceNotFound, references[name]));
        setter.apply(component, [reference]);
    }
}

This problem is raised in your latest Beta released version 2009.2.701.35. Before that, we were using 2008.3.1125.35 version without any problem with no change in code.

Please let us know, if any adjustment is required while working with RadWindow.

Waiting for your reply.

Venu

Venu Krishnamoorthy
Top achievements
Rank 1
 answered on 15 Jul 2009
5 answers
167 views
Hello,

I have a RadGrid that contains a MasterEditTemplate for editing records that is working fine (like the the other 4 RadGrids contained in this template), but for some reason it remains visible after the update.  

If I place the grid in edit mode using the custom <CommandTemplate> and then click the cancel link the template closes as it should.  Yet i when I place the grid in edit mode (clicking the AutoGeneratedEdit column icon) and update the database the template remains visible.  I can confirm that the "UpdateSponsoredLinkSponsor()" call returns true and is assigned to the e.Cancelled member of the GridCommandEventArgs parameter to the event.  In every other case on the web template this closes the MasterEditTemplate but not in this one.

protected void grdSponsoredLinkSponsor_ItemCommand(object source, GridCommandEventArgs e) 
    {     
 
        Controller controller = GlobalMethods.GetController(); 
        switch ( e.Item.OwnerTableView.Name ) 
        { 
            case "SponsoredLinkSponsor": 
                { 
                    switch ( e.CommandName ) 
                    { 
                        case RadGrid.InitInsertCommandName: 
                            { 
                                .. 
                            } 
                        case RadGrid.PerformInsertCommandName: 
                            { 
                                .. 
                            } 
                        case RadGrid.EditCommandName: 
                            { 
                               .. 
                            } 
                        case RadGrid.UpdateCommandName: 
                            { 
                                Guid primaryKey = (Guid) e.Item.OwnerTableView.DataKeyValues[0]["PrimaryKey"]; 
                                SponsoredLinkSponsor activeSponsoredLinkSponsor = (SponsoredLinkSponsor) controller.DataCache.GetObject(primaryKey);                                 
 
                                e.Canceled = !UpdateSponsoredLinkSponsor(activeSponsoredLinkSponsor); 
                                if ( e.Canceled == false ) 
                                {                                     
                                    ... 
                                    grdSponsoredLinkSponsor.Rebind(); 
                                } 
                                break; 
                            } 
                    break; 
                } 
        } 
     


I have placed a copy of the .aspx and .cs files on my server in a public folder here:

Can anyone tell me what might be going on here?  Again the update method returns true.

Thanks


Quantesys IT
Top achievements
Rank 1
 answered on 15 Jul 2009
1 answer
73 views
Not sure if this has been explored but would it be possible to change the Tab CSS based on if a button was submitted on a page?

If there are 5 tabs in the strip, after the button is clicked, the tab color would need to change.

Thanks for any help.
Paul
Telerik team
 answered on 15 Jul 2009
3 answers
135 views
Hi ,
         I have trying to get the same look and feel of the rad date picker as on the web site for out look and vista skin but somehow when i click open the calendar the skin is not getting applied, it is just plain. Please could you provide any ideas.


Regards,
Ajit
Dimo
Telerik team
 answered on 15 Jul 2009
2 answers
143 views
Hy! I'm experiencing some problems using AJAX RadPanel and AJAX RadManager.

When I open my aspx page and click on a item inside RadListBox (tried using AJAX RadPanel and AJAX RadManager, same behaviour), it executes and after that none of the events work (button click, radlistbox selected index changed, ...) like the whole page is just blocked and it doesn't respond anymore. ASPX page is inside SharePoint context.

When I remove AJAX RadPanel (or AJAX RadManager) everything works smoothly using postbacks.

But the real problem is that it works in testing environment and it doesn't work on production (works without AJAX, doesn't work with AJAX).

Did you experience these problems somewhere and can you tell some of the possible things that could cause these problems?
Tried using IE 7, IE 8, Firefox 3.5 (same behaviour, works in testing environment, doesn't work on production).
Zvonimir Mavretić
Top achievements
Rank 2
 answered on 15 Jul 2009
3 answers
206 views
Hello, i have a problem with this code, no Window will show when i click my button:


 
<asp:UpdatePanel ID="upnl" runat="server"> 
<ContentTemplate> 
 
 
<script type="text/javascript"> 
 
        function OnClientClose(oWnd, args) { 
            var arg = args.get_argument(); 
            window.location.href = 'default.aspx'; 
            window.location="http://www.yourdomain.com/"; 
                         
            if (arg=="1") { 
                window.location.href = 'default.aspx'; 
            } 
            else { 
            window.location.href = 'default.aspx'; 
                return false; 
            } 
             
            function OpenWindow() 
                { 
                    var wnd = window.radopen(null, "RadWindow2");          
                    wnd.setSize(400,400); 
                    return false; 
                }            
    </script> 
     
<telerik:RadWindowManager VisibleOnPageLoad="true" ID="RadWindowManager1"  runat="server" OnClientClose="OnClientClose"> 
<Windows> 
      
    <telerik:RadWindow ID="RadWindow2" runat="server" Title="Edit" Modal="True" VisibleOnPageLoad="true" 
Skin="Web20" 
        VisibleTitlebar="False" VisibleStatusbar="False" InitialBehavior="None" Height="260" Width="380" /> 
          
      </Windows> 
    </telerik:RadWindowManager> 
 
... 
 



Has someone a solution??
Svetlina Anati
Telerik team
 answered on 15 Jul 2009
7 answers
157 views
Hi

I hope someone can answer fairly quickly.

I have a Rad Scheuler control as a user conrtol I have set up 2 properteries ID and week Number, and create the control programatically based on the number of weeks, the web can display any number of grids from 1 to 12.

This all works well.

What I need to do is fill the grid with each weeks data, this means getting the Scheduler's ID and binding it to my recordset.

This is my error when I try:
Unable to cast object of type 'ASP.JobPlanScheduler' to type 'Telerik.Web.UI.RadScheduler'.

And this is my code to find the scheduler control,

Dim

 

rsJobPlan = CType(Page.Master.FindControl("ctl00$cphContent$JobPlanWeek" & WeekCycle), RadScheduler)

 


and this is the top section of my user contol vb file.

Imports

 

System.Data

 

Imports

 

System.Data.SqlClient

 

Imports

 

Telerik.Web.UI

 


Andy
Peter
Telerik team
 answered on 15 Jul 2009
1 answer
262 views
We are using the latest version of the 2008 Q3 ASP.NET AJAX controls. One of our clients is complaining that when they open the Document Manager in the Rad Editor, they immediately get the following error:

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned form the server was: 12031

Here are the odd things about this error:
  • We cannot duplicate this error.
  • They only get the error when they are on their work network, or connected to their work network through VPN at home.
  • If they are running the application from home without being connected to the work VPN, they do not get the error.
  • They only get the error when editing one "object" in our system. If they edit a different "object", they don't get the error. When they go back in to the trouble "object" it will work if they successfully opened the document manager while looking a different "object".

Any ideas from your side?

Thanks,
Adam
Rumen
Telerik team
 answered on 15 Jul 2009
1 answer
170 views
Dear All,

I am currently evaluating this tool and found it is extremely powerful. Just would like to ask whether does it have a FormView or DetailView feature in the next features release where I am testing the RadGrid feature in my test dev.

Thanks.

Regards,
Wilmos.

Ivo
Telerik team
 answered on 15 Jul 2009
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?