Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
531 views
Hi,

I am using a Calendar control on my page. when i scroll the page all controls move with scroll except Calendar control. Calendar control remains static and appears hanging in air.  However i want it to stick with date input and move with scollbar when i scroll the page.
I am sending some code to describe the problem.

<

form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

<div style="height:300px; width:400px;overflow:scroll;">
<div style=" height:500px; width:350px">
<table ><tr><td>
<asp:TextBox ID="TextBox1" runat="server" Width="197px"></asp:TextBox>
</td></tr>
<tr><td>
<asp:Button ID="Button1" runat="server" Text="Button" />
</td></tr>
<tr><td>

<rad:RadDatePicker ID="datePikFmCrRangeStart" runat="server" EnableTyping="False" Skin="Default2006" Calendar-EnableMonthYearFastNavigation="false">
<DateInput ReadOnly="True" Skin="Outlook" CssClass="input" runat="server" ID="dateInput2">
</DateInput></rad:RadDatePicker>
</td>
</tr>
<tr>
<td>
<asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
<
/td>
</tr>
</table>
</div>
</div>
</form>

You can paste this code in a page and can see how the calendar control behaves.
I tried to set the Style="position:relative;" to this control but did not work.
please suggest me some solution.

Regards,
Manoj Dwivedi

Sebastian
Telerik team
 answered on 28 Aug 2008
6 answers
111 views
Hi Guys,

Q2.2008 release rocks!  Good job getting everything over to the AJAX release.  I am having some issues however with the RadRotator inside a MultiPage.

Basically I have 2 different RadRotators each on its own RadPageView inside one RadMultiPage.

Unless the RadPageView is defaulted (using SelectedIndex property on RadMultiPage) the RadRotator does not display.  In other words the RadRotator is only displayed if its on the page that is drawn on PageLoad.

I hope the above makes sense.  Is there an issue with what I am trying to do or is there a workaround?

Thanks in advance,
Georgi Tunev
Telerik team
 answered on 28 Aug 2008
1 answer
124 views
I am using a RadDock with a custom skin. The problem that I am facing is that the rdPlaceHolder is always set to the default theme no matter what I change. This in turn loads a whole bunch of axd files that I don't want.

I want to be able to set the rdPlaceHolder to disable embedded styles and use mine.

Sophy
Telerik team
 answered on 28 Aug 2008
1 answer
141 views
I have a heirarchical RadGrid on a page that uses the client-side double-click event to place the grid into edit mode.  When in edit mode, a web user control edit form is displayed.  The edit form contains an additional heirarchical RadGrid that too uses the client-side double-click event to place the grid into edit mode.

The problem that I am experiencing is that the client-side double-click event of the edit form grid is being propagated to the parent grid.  Would someone please explain why this is happening, and what I can do about it?

Thank you,

Chris
Veli
Telerik team
 answered on 28 Aug 2008
3 answers
106 views
Hello, we have a RadContextMenu that we included javascript to hide on mouseout, but noticed from the trial in Q1 to our new Q2, that its outputing 2 divs now for the menu?  Do we add the events to the inner Div now?

m_oWebMenu.Attributes.Add("onmouseout", "hideRadMenu(event, '"+ m_oWebMenu.ClientID +"')");

old output:
<div id="Header1_ctl00" class="RadMenu RadMenu_AMS rmContextMenu RadMenu_AMS_Context " onmouseout="hideRadMenu(event, 'Header1_ctl00')" onmouseover="window.status='';return true;" style="font-family:Verdana;font-size:8pt;">
  <!-- 2008.1.515.35 --><ul class="rmActive rmVertical rmGroup rmLevel1">
   <li class="rmItem rmFirst"><a href="#" class="rmLink " onclick="window.open('http://spiderbuild2.amsworld.com/robo/default.asp?project=V15352&amp;context=140')"><span class="rmText">Context...</span></a></li></ul><input id="Header1_ctl00_ClientState" name="Header1_ctl00_ClientState" type="hidden" />
 </div>

new output:
<div id="Header1_ctl00" onmouseout="hideRadMenu(event, 'Header1_ctl00')" onmouseover="window.status='';return true;">
  <!-- 2008.2.826.35 --><div class="RadMenu RadMenu_AMS rmContextMenu RadMenu_AMS_Context">
   <ul class="rmActive rmVertical rmGroup rmLevel1">
    <li class="rmItem rmFirst"><a href="#" originalAttribute="href" originalPath="#" class="rmLink " onclick="window.open('http://spiderbuild2.amsworld.com/robo/default.asp?project=V15352&amp;context=140')"><span class="rmText">Context...</span></a></li></ul>
  </div><input id="Header1_ctl00_ClientState" name="Header1_ctl00_ClientState" type="hidden" />
 </div>
Erjan Gavalji
Telerik team
 answered on 28 Aug 2008
10 answers
129 views
Hi all,

When double clicking a row in the grid I get a javaScript error saying "this._tableView._owner._clientKeyValues is null or not an object".

Any idea why this is and how I can prevent this from happening?

Many thanks,

Vincent.
Sebastian
Telerik team
 answered on 28 Aug 2008
2 answers
186 views
Hello,

I have some troubles with radgrid insert from. When i click on add new, my popup shows. On this form I want to check some values in one textbox. So I added a linkbutton to execute my method.

Problem is that i can set textbox to some value, but can't read from it.
PROBLEM ( stPoste = posta.Text;)

Any help ?

Thanks in advance.
Strela

    public void RadGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) 
    { 
        if (e.CommandName == RadGrid.InitInsertCommandName) 
        { 
            e.Canceled = true
            e.Item.OwnerTableView.InsertItem(); 
 
            GridEditableItem insertedItem = e.Item.OwnerTableView.GetInsertItem(); 
            TextBox drzava = insertedItem.FindControl("TextBox_drzava") as TextBox; 
            drzava.Text = "Slovenija"
            TextBox id_sod = insertedItem.FindControl("TextBox_idsod") as TextBox; 
            id_sod.Text = Profile.stevilkaSodelavca; 
        } 
        if (e.CommandName == "Add") 
        { 
            e.Canceled = true
            e.Item.OwnerTableView.InsertItem(); 
 
            //PODATKI IZ BAZE 
            String strKraj = ""
            String stPoste = "0"
 
            GridEditableItem insertedItem = RadGrid1.MasterTableView.GetInsertItem(); 
             
            TextBox posta = insertedItem.FindControl("TextBox_posta") as TextBox; 
            stPoste = posta.Text;  //HERE I GOT "" (empty string) 
 
            TextBox drzava = insertedItem.FindControl("TextBox_drzava") as TextBox; 
            drzava.Text = "Slovenija"
            TextBox id_sod = insertedItem.FindControl("TextBox_idsod") as TextBox; 
            id_sod.Text = Profile.stevilkaSodelavca; 
            TextBox kraj = insertedItem.FindControl("TextBox_kraj") as TextBox; 
            kraj.Text = strKraj
 
        } 
 
    }     
Shinu
Top achievements
Rank 2
 answered on 28 Aug 2008
0 answers
96 views
Problem solved!!  I started from scratch and noticed that this time I used a single ' instead of " at the start and end of the $find. It now works!  (not even sure if this sorted it out)

This may seem to be a trivial question but how do I access the treeview's nodes in a Panelbar?

I have used the following where radLeftPane = PanelBar, Sites = PanelItem and radSites = RadTreeView

Complete function:

 function getCheckedNodes()
        {
            var treeView = $find("<%= radLeftPane.FindItemByText("Sites").FindControl("radSites").ClientID %>");
               var checkedNodes = treeView.get_checkedNodes();
            if (checkedNodes.length > 0)
            {
                var checkedNodesText = new Array();
                for (var i=0; i < checkedNodes.length; i++)
                {
                    Array.add(checkedNodesText, checkedNodes[i].get_text());
                }
                alert(checkedNodesText.join(";"));
            }
            else
            {
                alert("There are no checked nodes!");
            }

        }

Absolutely nothing happens except a postback on the button that runs this code.

Any help will be most appreciated.
Justin
Top achievements
Rank 1
 asked on 28 Aug 2008
9 answers
1.0K+ views
Hi,

I have a date picker control with a required field validator control.  When the page loads the date picker's textbox is empty.  So I select a date, and then delete the date and move the focus to another control on the page, but the required field validator does not fire.  Can some one please explain why?

Brendan
Maria Ilieva
Telerik team
 answered on 28 Aug 2008
2 answers
97 views

Why we are choosing rad controls for ASP.NET AJAX(Q2/2008)

If we have fine with RadControls for ASP.NET Q1 2008.

What are the advantages to build Q2/2008 built on top of MS ASP.NET AJAX?

If my old version telerik controls are fine working on vs2008/asp.net3.5

Regards,

Abhi

Abhinandan
Top achievements
Rank 1
 answered on 28 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?