Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hi,

Am using telerik grid, which has master and child grid in it. Since it loads heavy data am changing the normal cursor into hourglass. The issue I want to explain here is the hourglass is not consistant. It means that it keep swaping between hourglass and normal cursor pointer when any transaction happens and reload the grid with data. Can you help in terms of any solutions/coe fix for this issue please.

Thanks
D, Pardha Saradhi
Cognizant Technologies Solutions
Maria Ilieva
Telerik team
 answered on 14 Jan 2011
1 answer
110 views
I'm having trouble getting my dialog boxes to work (Image Manager).

The code works fine in the main page of our site, the handler code is added to the web config.  I suspect the issue has something to do with the fact that the website to which I am trying to add the editor is running as a subapplication of our main website, so it is not finding the proper path for the user controls?

<

 

telerik:radeditor runat="server" ID="radEditor" AllowScripts="false" OnClientCommandExecuting="OnClientCommandExecuting" OnClientLoad="OnClientLoad" AutoResizeHeight=false EnableResize="false" Skin="Vista" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" />

Web config:

 

<httpHandlers>
     <remove verb="*" path="*.asmx" />
     <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
       <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
       <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
   </httpHandlers>

The spell check is also throwing a JSON error.  I am not sure if this is related also.  Again, this is all working fine on one page, but not on another.

I think it just can't find the dialog contrl.  Any suggestions on how to get this working?

Thanks!

Rumen
Telerik team
 answered on 14 Jan 2011
1 answer
63 views
I am trying to make the scheduler capable of being controlled completely without use of the mouse but cannot figure out how to select a time slot or an appointment. 

I wish the up/down arrow to move the time slot selector up/down one hour at a time.  When the shift key is depressed and the up/down arrow is pressed the next hour should be selected or an hour removed from the selected time slot.  When enter is pressed the advanced editor should appear for the time slot selected (telerik already does this).  

The tab key should be used to select the next appointment.  The shift+tab key should cause the previous appointment to be selected.  Pressing enter when an appointment is selected should cause the "Edit a recurring appointment" popup to appear.  

Anyone have any idea how to make this happen (or at lease know how to programaticaly set the selected time slot client side)?  I think the answer has something to do with the _rowSelectionState JavaScript property but cant get it to work.

Thanks
Aaron
Peter
Telerik team
 answered on 14 Jan 2011
1 answer
130 views
Hey!

I have a RadWindow sized 800*600, inside of it I have a button that opens a new RadWindow, I want the new window to be maximized over the whole screen not just the 800*600 parent window is that possible?

This is how I am currently doing it.

<telerik:RadWindowManager KeepInScreenBounds="true" ID="rwm" Width="700" Height="600" Modal="true" ShowContentDuringLoad="false" ReloadOnShow="true"
                    VisibleStatusbar="false" Behaviors="Close,Reload" runat="server" EnableShadow="true">
                    <Windows>
                        <telerik:RadWindow ID="rwMax" runat="server" OnClientShow = "maximizeRadWindow" ShowOnTopWhenMaximized="true" />
                    </Windows>
</telerik:RadWindowManager>

I have a button that onclick calls OpenWindow.

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
 
        function OpenWindow(url){
            var pagePath = '<%= Page.ResolveUrl("~") %>';
            window.radopen(pagePath + url, "rwMax");
        }
 
        function maximizeRadWindow(sender, e) {
            sender.maximize();
        }
 
    </script>
</telerik:RadCodeBlock>

Sincerely, Jure
Princy
Top achievements
Rank 2
 answered on 14 Jan 2011
1 answer
60 views
I have a grid that allows users to insert/update/delete products.  I have a radasynupload control that allows the users to upload pictures to the server.  when the save button is clicked on the grid, the code then gets the image and saves it to like an "images" folder. the folder have read and write permissions. the app_data folder also has read and write permission.  any help will be appreciated.   my site is on a shared web hosting.
Genady Sergeev
Telerik team
 answered on 14 Jan 2011
1 answer
95 views
Hi,
I had one radpanelbar in my application. In that, inside of rad-panel the data should be collapsible. But the parent must not be collapsible.It should simple display the details.
Here is my code and i attached the image of this scenario.
 
Code
 
<div class="leftmenu">
<telerik:RadPanelBar EnableEmbeddedSkins="false" Width="308px" CssClass="radleftMenu"
 OnItemDataBound="RadPanelBar1_ItemDataBound" OnLoad="RadPanelBar1_Load" AllowCollapseAllItems="false"
 Skin="Web20" runat="server" ID="radMenuManagerNavigation">
</telerik:RadPanelBar>
 
<div id="divMainDocument" runat="server" style="background-color: #5B90A6; margin-left: 10px;
 margin-top: 10px; margin-bottom: 10px; margin-right: 10px;">
<telerik:RadPanelBar EnableEmbeddedSkins="false" Width="308px" CssClass="radleftMenu"
    AllowCollapseAllItems="false" Skin="Web20" runat="server" ID="RadPanelBar1">
   </telerik:RadPanelBar>
  </div>
   </div>
  </asp:Panel>
 
.cs code:
 
protected void RadPanelBar1_ItemDataBound(object sender, Telerik.Web.UI.RadPanelBarEventArgs e)
        {
        }
 
protected void RadPanelBar1_Load(object sender, EventArgs e)
        {
            UrlQueryStringPasser url = new UrlQueryStringPasser();
            foreach (RadPanelItem item in radMenuManagerNavigation.GetAllItems())
            {
                if (item.Level == 0)
                {
                    if (item.Items.Count != 0)
                        if (item.Level != 2)
                            item.Expanded = true;
                }
 
 
                if (url[UIConfigurationConstant.CODE] != null)
                    if (item.Value == url[UIConfigurationConstant.CODE].ToString())
                    {
                        item.Selected = true;
                        if (item.Items.Count != 0)
                            item.Expanded = true;
                    }
            }
        }

Please look over the image attached, that may help to recover my problem.


Thanks,
Janni
Janni
Top achievements
Rank 1
 answered on 14 Jan 2011
2 answers
125 views
Hi All

I have a databound column that has a checkbox in it.

My question is how can i get the checkbox value server side so that i can format another cell based on if its true or false.

Any help would be greatly appriciated.

Rgds

Darren
Cush
Top achievements
Rank 1
 answered on 14 Jan 2011
1 answer
100 views
I have a row in DataGrid that  contains a one TextBox and one Combobox control and grid has a bottun(Add Row).   On clicking  on this button(Add Row), dynamically a new Row is generated below with the same controls(TextBox and Combobox ).

If  the datagrid as of above, with many rows(2 or more)  are there , how to get all the values to be stored into database on clicking a button (Save).

How can we store row by row into a collection of class and pass that class at once to finally save into database.

Currently I'm reading each row by below code,

dtUsers.Columns.Add(

new DataColumn("TranTypeName", typeof(String)));

 

dtUsers.Columns.Add(

new DataColumn("ApprDlgtTranTypeKey", typeof(Decimal)));

 

dtUsers.Columns.Add(

new DataColumn("ApprDlgtDelegatedTo", typeof(String)));

 

dtUsers.Columns.Add(

new DataColumn("ApprDlgtKey", typeof(Decimal)));

 

delegation.ApprDlgtTranTypeKey = ((

DropDownList)e.Item.FindControl("cboFor")).SelectedValue;

 

delegation.TranTypeName =

Convert.ToString(((DropDownList)e.Item.FindControl("cboFor")).SelectedItem);

 

delegation.ApprDlgtDelegatedTo = ((

TextBox)e.Item.FindControl("txtDelegatedTo")).Text.Trim();

 

delegation.ApprDlgtKey =

"0";

DataRow drUser = dtUsers.NewRow();

 

drUser[

"ApprDlgtTranTypeKey"] = delegation.ApprDlgtTranTypeKey;

 

drUser[

"TranTypeName"] = delegation.TranTypeName;

 

drUser[

"ApprDlgtDelegatedTo"] = delegation.ApprDlgtDelegatedTo;

 

drUser[

"ApprDlgtKey"] = delegation.ApprDlgtKey;

 

dtUsers.Rows.Add(drUser);

 

grdDelegation.DataSource = dtUsers;

grdDelegation.DataBind();

Daniel
Telerik team
 answered on 14 Jan 2011
3 answers
155 views
I am Neil Ghuman, IT Manager for Motorcycle Accessories.  I need some advice on what to do here.  Please visit the product details page for my website where we are selling an Icon Airframe Carbon Lifeform Helmet. We are currently using Jquery Zoom and Jquery autocomplete and they seem to work fairly well.  If you click on the main helmet image, you will notice a Telerik Rad Window Popup.  I need some help with configuring this window to do what I want it to do.
1) I want to get rid of the scroll bars.
2) I want the background of the page to be a darker color, how do I control that?
3) I want the controls for this window to be at the bottom of the window instead of the top.
4) I want the window to pop up at the top of the page instead of the middle of the page.  Even if the IE or Firefox window was to be minimized, I want the top of the pop up window to be aligned up with the center top of the browser.  Where do I control this?
5) I want the pop up image/window to be animated.  Ideas?

Please let me know if anyone has ideas on how this can be accomplished.  I was going to do everything with Jquery Lightboxes, but this seems like a more advanced and clean way to do things. Thank you.

Neil Ghuman
Motorcycle Parts and Motorcycle Accessories
Svetlina Anati
Telerik team
 answered on 14 Jan 2011
2 answers
54 views
Hi,

I have defined a custom template for alert and confirm dialogs. But am not able to move the dialogs even after setting Behavior property to "Move" for RadWindowManager.

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableEmbeddedSkins="False" Skin="SendToENv2" Behavior="Default" InitialBehavior="None" Behaviors="Maximize,Minimize,Move,Resize">
<AlertTemplate >
    <div class="rwDialogPopup radalert"> 
    <div class="rwDialogText"> {1} </div>
    <div>
    <a id="send2Alert" onclick="$find('{0}').close();" onkeypress="$find('{0}').close();" class="rwPopupButton" href="javascript:void(0);">
    <span class="rwOuterSpan">
    <span class="rwInnerSpan">##LOC[OK]##</span>
    </span>
    </a>
</div>
</div>
</AlertTemplate>
</telerik:RadWindowManager>

 

I have even tried with the code present in the below link posted by one of the telerik member . There also i am facing the same issue. No customized styles have been explcitily defined by me. Code file is being attached. - Code.jpg
http://www.telerik.com/community/forums/aspnet-ajax/window/templates-for-confirm-dialog.aspx

1 more point i noticed here is that the issue doesn't happens with Tereik RadControls for ASP.NET AJAX Q2 2010. Am currently using Tereik  RadControls for ASP.NET AJAX Q2 2009. The issue occurs in the 2009 version. Please let know whether this is the limitation for the 2009 version or should i need to explicitly provide any customizations in order to make the confirm/alert dialogs move( along with the movement of cursor)

Thanks,
Divya
Divya
Top achievements
Rank 1
 answered on 14 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?