Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
207 views
Hello i hv following application

One Rad grid (Main Page Parent Page  ) It contains the ADD Cart Button .....When i click on that open the Cart Windows
 

<telerik:RadWindow ID="RadWndCart" runat="server" Modal="false" VisibleStatusbar="False"
                Behavior="Move,Minimize"  Skin="Black" Title="Cart" Top="150px" Left="250px" Width="620px"
                 NavigateUrl="ProposalCart.aspx"  Height="483px">
            </telerik:RadWindow>

The Cart windows contains the Create Button When i click on this Open the one form in same windows using following code, It contains creat project button when i click execute the follwoing script and open the page same child window,

  function OpenResult()
               {

                   var oWnd = radopen ("CreateProjectResult.aspx","RadWndCart");
                   return false;

            }

It will open the result windows On that one button i want refresh the Parent (Main Page) .........
for example
the Result page grid contains
ABC
PQR
ABCD

Above are the link button
when click
function RefreshParentPage()
            {
           GetRadWindow().BrowserWindow.location.href = GetRadWindow().BrowserWindow.location.href;

            }

but not open the parent main page it open the second Proposal cart page , i dont want this Reload the main parent page

when i click on the above ABC opens the ABC Page information.

How to navigate the on main page from Child -- Child Window to Parent

ITs Urgent very urgent

Georgi Tunev
Telerik team
 answered on 03 May 2010
1 answer
153 views
Hello everybody,

I found out intresting problem with IE 6,7 and 8. Everythink works fine with firefox. I don't is this Bug or featrure ;). First I created simble page where is rad editor version 7.1.2. Created button click event to code behind. where I put following code.
 
            Dim editor As Telerik.WebControls.RadEditor = CType(Page.FindControl("editor"), Telerik.WebControls.RadEditor) 
        
            editor.Html = "<ul><li>Link1</li><li>Link2</li></ul>"  

After button click I changed  radeditor viewmode to html mode.Now RadEditor output is :
<ul> 
<li>Link
<li>Link 2</li></ul> 




first li ending tag is missing.Does anyone have idea how to fix this ?
Rumen
Telerik team
 answered on 03 May 2010
2 answers
82 views
I have a search that I know return 2 records (I change the page size to 2 and I get both records.)  So to test the paging I set the page size to 1  I get no pager controls at all.

The Data is bound in the Page_Load method based on some search logic.

I ripped the logic right from the demo.

<telerik:RadListView ID="lvSearchResults" runat="server" AllowPaging="true" 
                            PageSize="1" ItemPlaceholderID="coursePlaceHolder" DataKeyNames="courseId"> 
            <LayoutTemplate> 
                <fieldset id="FieldSet1"> 
                    <asp:PlaceHolder ID="coursePlaceHolder" runat='server'> 
                    <asp:LinkButton runat="server" ID="btnFirst" CommandName="Page" CommandArgument="First" 
                    Text="First" Enabled="<%#Container.CurrentPageIndex > 0 %>" CssClass="small green awesome" /> 
                    <asp:LinkButton runat="server" ID="btnPrev" CommandName="Page" CommandArgument="Prev" 
                    Text="Prev" Enabled="<%#Container.CurrentPageIndex > 0 %>" CssClass="small green awesome" /> 
                    <asp:Button runat="server" ID="btnNext" CommandName="Page" CommandArgument="Next" Text="Next"  
                    Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" CssClass="small green awesome" /> 
                    <asp:Button runat="server" ID="btnLast" CommandName="Page" CommandArgument="Last" Text="Last"  
                    Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" CssClass="small green awesome" /> 
                    </asp:PlaceHolder> 
                </fieldset> 
            </LayoutTemplate> 
            <ItemTemplate> 
                <div class="searchResult odd"> 
                    <a href='/Courses/<%# Eval("courseID") %>' class="normal" ><%# Eval("courseName") %></a> 
                </div> 
            </ItemTemplate> 
            <AlternatingItemTemplate> 
                <div class="searchResult even"> 
                     <a href='/Courses/<%# Eval("courseID") %>' class="normal"><%# Eval("courseName") %></a> 
                </div> 
            </AlternatingItemTemplate>  
             
         </telerik:RadListView>



Rosen
Telerik team
 answered on 03 May 2010
3 answers
156 views
Hello

I have got a PanelBar to bind to a hierarchical datasource. However I'm not sure how to get this to work with template items.

RadPanelBar1.DataSource = clients; 
RadPanelBar1.DataFieldID = "ID"; 
RadPanelBar1.DataFieldParentID = "ParentId"; 
RadPanelBar1.DataTextField = "Label"; 
RadPanelBar1.DataBind(); 

That produces a PanelBar with default styling and three levels:

Parent Name
- Child Name
  - Child Child Name

Now what I want to be able to do is turn each row into a template field so I style each level differently and add some other stuff, like button or image on each row.

Parent Name [button]
- Child Name [Image]
  - Child Child Name [Textbox]

Thanks for any help you can provide.



Nikolay Tsenkov
Telerik team
 answered on 03 May 2010
1 answer
152 views
I have looked through most of these posts and still cannot get the text at the root level to align center or even bottom.  I am sure there is a simple solution to this but with so many configuration settings its tough tell.

Here is what I thought would have changed the alignment:

.RadMenu_dbsNav .rmRootGroup
{
border: 1px solid #6788BE;
background-color: #E8E8E8;
height:50px;
width: 700px;
vertical-align:text-bottom;
}

Thanks in advance,

Shanti

Yana
Telerik team
 answered on 03 May 2010
3 answers
107 views
Hi

I have a design issue in tabstrip controls. Child tabs are not visible. Sub tabs are squeezed (vertically).

Please find the attached picture.

Thanks
Yana
Telerik team
 answered on 03 May 2010
1 answer
93 views
Hi,

When i try to add schedular to my site. Its raise error. Other controls working fine. Why that?

Following error has raising

Error Creating Control - RadScheduler1Unable to cast object of type 'Telerik.Web.UI.RadScheduler' to type 'Telerik.Web.UI.RadScheduler'.

krds
lakmal

Veronica
Telerik team
 answered on 03 May 2010
1 answer
87 views
In RadGrid , you have provided one sample - Client edit with Batch Server Update. In this template columns having a textbox and a label are added. Labels are visible on first load and on double click of the cell, label hides and textbox becomes visible.
I want this functionality with keyboard. The problem I am facing is - these cells never get focus beause they neither have link nor in edit mode. Also I am not able to perform grouping these template columns. Error I amgetting is - Expression can not be null or empty.

How can I do that?
Thanks,
Sushma
Tsvetoslav
Telerik team
 answered on 03 May 2010
1 answer
142 views
Hi,

I have the following Combobox and TreeView on a page.
            <telerik:RadComboBox ID="ContextCombo" DataTextField="Name" DataValueField="Id" EmptyMessage="Select Context" 
                        AutoPostBack="True" runat="server" Height="200px" Skin="Office2007" Width="250px"  
                        onselectedindexchanged="ContextCombo_SelectedIndexChanged">  
            </telerik:RadComboBox> 
 


                            <telerik:RadTreeView ID="QuestionsAndAnswersTree" runat="server"  
                            OnClientMouseOver="ClientMouseOver"  OnClientNodeDropping="onNodeDropping" 
                            <contextmenus> 
                                <telerik:RadTreeViewContextMenu ID="ContextMenuLHRootCreateQuestion" runat="server"> 
                                    <Items> 
                                        <telerik:RadMenuItem  
                                            ImageUrl="~/App_Themes/MasterPlan/TreeImages/question_add.png"  
                                            Text="Create Question" Value="CreateQuestion" /> 
                                     </Items> 
                                     <collapseanimation type="None" /> 
                                     <collapseanimation  
                                        type="None" /> 
                                 </telerik:RadTreeViewContextMenu> 
                         </contextmenus> 
                          
                      </telerik:RadTreeView> 
 

The client handlers are defined as
        <script type="text/javascript"> 
 
            function onNodeDropping(sender, args) { 
                // prompt for drag action / display dialog  
                var dest = args.get_destNode(); 
                //window.radopen("DragDropPromptDialog.aspx?EventArg=" + args, "DragPromptDialog"); 
                //args.set_cancel(true); 
            } 
            function ClientMouseOver(sender, args) { 
                return; 
            }  
    </script> 

When I open this page in Firefox 3.6.3 the client events do not fire.
The error console of Firefox shows me this error - ClientMouseOver is not defined + a link pointing to the error in the generated file.Clicking on the link highlights the following code in the file
<div id="ctl00_MainContent_ContextCombo" class="RadComboBox RadComboBox_Office2007" style="width:250px;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;"> 

Not sure if the error has something to do with the display attribute(-moz-inline=stack)
The page works fire on IE 8.
Please help!!!!

Veronica
Telerik team
 answered on 03 May 2010
2 answers
407 views
I have a site that uses telerik controls, usually i use my owned server for deployment(a company server), everything works fine there. When i make deployment on a shared hosting, however, it gives me the error. I tried to pinpoint the error source, so i made a new website using VS2008, and simply added one radcalendar. i have all needed assemblies in bin folder.
The strange is that the site when i first uploaded to arvixe, was working fine, it was compiled and containing controls from telerik and other third party components.
I tried the website on 2 different hosting, arvixe.com and webhost4life.com, the result. is the same.
Also i noticed that in both hosting, i can't upload a precompiled site (either updatable or non updatable). It makes another error: "default.aspx" is not not precompiled or something...
so i tried to upload the source code. If it is a simple asp.net site without any telerik, then it works, otherwise it gives me the below error.
what could be wrong ?
Anyway, i started to believe that the shared hosting(in general since it is 2 different hosting) doesn't allow my app to read assemblies located inside my website folder (bin folder), so in case of precompiled dlls from website, it is not reading them. Also in case of telerik assembly (Telerik.Web.UI) it is not able read the assembly for maybe the same security restrictions.

Of course the hosting said that they have no problem, and that i should check what is the solution, i already tried all solutions suggested on this forum, nothing worked, So far i tried this:
1-recheck assembly version
2-reupload the telerik assembly to make sure it is not corrupted
3-isolate the problem by including just one calendar on one page, still same problem

Also it is also important to mention that i got a problem before this, i tried to use Cssfriendly.dll for some menu (before i discover how awesome is telerik :D) and it also made problem.

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:

Line 4:      Namespace="System.Web.UI" TagPrefix="asp" %>
Line 5:  
Line 6:  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
Line 7:  
Line 8:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /default.aspx    Line: 6

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


NADAV YEHESKEL
Top achievements
Rank 2
 answered on 03 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?