Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hello,

I'm using Teklerik Rad controls in my aspx pages and when i try to debug, it gives me this error.

What do we need to correct this.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'Telerik.Web.UI 2009.'.

Thanks,
ZR
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2009
1 answer
98 views
Hi,

We have a dropdown that is disabled programatically on certain conditions. But the application on deployed to server shows the dropdown in half size and its not fully vsisble.

Could you please explain us on this behaviour

Thanks & Regards
V.Balamurali
Veselin Vasilev
Telerik team
 answered on 09 Jul 2009
1 answer
241 views
Hi All,

I have grid and using two GridTemplateColumn, Primary BIN and Secondary BIN. My grid format is as follow and I know exactly how many column in Primary and Secondary BIN. So I used static table in HeaderTemplate and ItemTempalte in GridTemplateColumn.

Primay BIN Secondary BIN
Visa Master Visa Master
USD 10 15 1 2
SGD 12 5 3 4
AUD 16 20 5 6

 

 

Now my requirement is changed. BIN Column (Card Type) may vary base on user input. Mean, sometime, Visa, Master, Dinner or Visa Master, AMEX in Primary BIN and Secondary BIN.

How can I dynamically create table in GridTemplateColumn.

Here is my current TemplateColumn.

 

<telerik:GridTemplateColumn UniqueName="TemplateColumnSourceBin"
                                      <HeaderTemplate> 
                                       <table id="Table1" cellspacing="0" cellpadding="0" style="width:550px;" class="myTable"
                                        <tr> 
                                         <td colspan="5" align="center"><b>Primary BIN</b></td
                                        </tr> 
                                        <tr> 
                                         <td style="width: 30%">Code</td> 
                                         <td style="width: 20%">Visa </td> 
                                         <td style="width: 20%">Master</td>                                          
                                        </tr> 
                                       </table> 
                                      </HeaderTemplate> 
                                      <ItemTemplate> 
                                       <table id="Table2" cellspacing="0" cellpadding="0" width="100%" border="0px" class="myTable"
                                        <tr> 
                                         <td style="width: 30%"><%# DataBinder.Eval(Container.DataItem, "Code"></td
                                         <td style="width: 20%"><%# DataBinder.Eval(Container.DataItem, "Visa")%></td
                                         <td style="width: 20%"><%# DataBinder.Eval(Container.DataItem, "Master")%></td>                                                        </tr> 
                                       </table> 
                                      </ItemTemplate> 
                                      <ItemStyle HorizontalAlign="Center" /> 
                                     </telerik:GridTemplateColumn> 

 

Princy
Top achievements
Rank 2
 answered on 09 Jul 2009
1 answer
127 views
Hello everyone,
Rad editor button on the page load process selected in bold I would like to bring.

What can I do to.

thanks
Rumen
Telerik team
 answered on 09 Jul 2009
2 answers
152 views

Dear All,

       How to do Auto complete in the text box such that which should check for first character match not any occurrence in the word.

Thanks,
kyn
kar kyn
Top achievements
Rank 1
 answered on 09 Jul 2009
1 answer
140 views

Hi,

I'm wondering if it's possible to insert a new dynamically created dock into a specific zone at a specific index?

The reason I ask is that I am developing a page layout editor and so have a "toolbox" of controls that a user can drag and drop on to their page layout, however because when a dock is moved it (obviously) gets removed from the "toolbox", thus I create a replacement control and put in the toolbox so the user can have multiple controls of the same type. The problem is I have a specific order for the controls in the toolbox and when I create the replacement control it just places that control at the bottom of the toolbox.

e.g. If I have a toolbox containing "text", "image" and "link" controls (in that order) and a user drags the "text" control on to their page then during the DockPositionChanged event I create another "text" control and place that in the toolbox, that way the user can drag another "text" control on to their page (if need be). But when I do so the "text" control is placed at the bottom of the toolbox and so the toolbox order is then "image", "link" and then "text" rather than "text", "image" and then "link".

So, is there a way to create a dock during the DockPositionChanged event and place it at a specific index?

I've tried the following and they've all failed:
1. Toolboxzone.Controls.AddAt(3, dock);
2. DockLayout.Controls.Add(dock);
    Toolboxzone.Controls.AddAt(3, dock);
3. Using ScriptManager.RegisterClientScriptBlock to register some js that moves the dock
4. Putting a literal in the same update panel and setting it's Text property to be some js that moves the dock
5. Placing some js that moves the dock into the update panel with calls to properties to get new dock and it's index "<%= NewDock %>"

The Javascript I tried was:
<script language="javascript" type="text/javascript">
    var dock = $find('<%= NewDock %>');
    var zone = $find('<%= ToolboxDockZone.ClientID %>');

    if (dock && zone) {
        dock.undock();
        zone.dock(dock, <%= MovedDockIndex %>);
    }
</script>
(note: for attempts 3 and 4 I used a string builder and just put in the control id's instead of "<%= NewDock %>", etc)

Has anyone got any ideas?

Thanks,
Pete

Pero
Telerik team
 answered on 09 Jul 2009
3 answers
81 views
Hi,

I've a custom skin and it worked fine until yesterday. I'm not sure but it might depending on the update of the controls with a new version.

In the page_load i set the custom skin like this:
 RadSkinManager1.ShowChooser = false;  
            string color = "protelskin";  
            RadFormDecorator1.EnableEmbeddedSkins = false;  
            RadFormDecorator1.Skin = color;  
            RadWindowManager1.EnableEmbeddedSkins = false;  
            RadWindowManager1.Skin = color;  
            Ordpos_GRID.EnableEmbeddedSkins = false;  
            Ordpos_GRID.Skin = color;  
            RadTabStrip1.SelectedIndex = 0;  
            RadTabStrip1.EnableEmbeddedSkins = false;  
            RadTabStrip1.Skin = color; 

If i take a look at the styles, I can see, that the formdecorator doesn't use my customskin:

(Firefox View)

<form id="form1" runat="server">  
         
<telerik:RadScriptManager Runat="server">  
    </telerik:RadScriptManager> 
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server">          
        </telerik:RadSkinManager> 
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server"  DecoratedControls="All"/>   
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
    </telerik:RadWindowManager> 
      
      
      
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="45px" 
        Width="16px" style="margin-bottom: 0px">  
    </telerik:RadAjaxLoadingPanel> 
    <telerik:RadAjaxPanel ID="RadAjaxPanel4" runat="server" Height="400px" Width="500px">  
      
    ........ 


Thanks
Martin
Telerik team
 answered on 09 Jul 2009
6 answers
154 views
Hello,

I'm trying to upgrade from version 5.2.2.0 dev to 5.4.1.0 trial, to test if some problems with our customer were solved,

I followed the step-by-step upgrade instructions, but it throws me an "Unexpected error",

The exception message is:
Could not find any resources appropiate for the specified culture or the neutral culture. Make sure "Resources.RadEditor.Main.resources" was correctly embedded or linked into assembly "AppGlobalResources.bs2dj_-a" at compile time, or that all the satellite assemblies required are loadable and fully signed.   

I am doing something wrong?

thanks in advance.
Oscar.
Oscar
Top achievements
Rank 1
 answered on 09 Jul 2009
2 answers
350 views
hi,

i searched through demos, forum and codesection, but i don't know how to implement to show an image in a grid column if the datafield is true and keep it invisible if its false. (Or 0 for false and 1 for true..)

thanks mario
Mario
Top achievements
Rank 2
 answered on 09 Jul 2009
1 answer
80 views
Hello, I'm creating a grid on a sharepoint webpart witha gridClientSelectColumn, when I try to click the checkbox on the header I'm getting an error "null is null or not an object" at the following line's onclick event. Looks like it doesn't find the Grid.
<th scope="col" class="rgHeader"><input id="RadGrid1_ctl00_ctl02_ctl00_CheckBoxColumnSelectCheckBox" type="checkbox" name="RadGrid1$ctl00$ctl02$ctl00$CheckBoxColumnSelectCheckBox" onclick="$find(&quot;RadGrid1&quot;)._selectAllRows(&quot;RadGrid1_ctl00&quot;, &quot;&quot;, event);" class="rgCheck" /></th

I'm creating the grid in CreateChildControls Method.

Any help please?

thank you,
Phani
Georgi Krustev
Telerik team
 answered on 09 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?