Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 views
Hi,
i was going through your tutorial on AJAX which i download from "http://www.telerik.com/support/documentation-and-tutorials/step-by-step-tutorial-for-ajax.aspx"

In the "Having an Out-of-panel Experience with RadAjaxManager" chapter which i have completed, i notice my behaviour is different from what it is expected. When i first time click on the calendar on the AjaxCalendar, using RadAjaxManager, my RADLoadingPanel didnt show, but the datetime did shows in the label, when i click for the second time, the RADLoadingPanel show.

Is RADAJAX is not fully compatible with SharePoint 2010? Any know issue with the RAD tool with SharePoint?
Marin
Telerik team
 answered on 03 Jan 2012
10 answers
113 views
Hi. I've been developing a new site based heavily on your controls for ASP.NET AJAX. Because we only target one browser and it is an internal site we don't need to test for multiple browser and have a small target audience. We plan on moving to Windows 7 soon. Our current OS/browser is Windows XP with IE6. I've done some testing with Windows 7 and IE8 and on page load it seems to get stuck. It is hard to describe. The page partially loads and then halts, and the status bar at the bottom reads something like:

(2 items remaining) Downloading picture http://myserver/WebResource.axd?d=xxxxxxxxxxxxxxxxxxxxxx

I have tested it with Windows XP and IE8 and the page loads with no issues. We have a login page with some RadControls on it and a script manager and it loads okay. It is a much smaller page though. We are using masterpages, and it seems to not like that page as you can create a new page with nothing on it and include the masterpage and it still stalls on that. I have also tried switching between compatibility mode and normal and it doesn't fix the problem. Sorry for the vague description, but that's all I got!

Daniel
Bozhidar
Telerik team
 answered on 03 Jan 2012
1 answer
86 views
I would really like to see the ASP team to give us some controls/framework to build ASP apps that *Look* & feel like Win8 UI. They don't need to be touch sensitive or slide but more of a look. like this:
https://www.sellsbrothers.com/posts/Image/92

Any thoughts?

Thanks and Happy N.Y.!
Bozhidar
Telerik team
 answered on 03 Jan 2012
2 answers
221 views
Hi Team,
                  I'm using Telerik Rad Grid in my application, in which i'm facing an issue. I'm having an editing option in the grid in Double click event, here is the code. While I'm double click, it suppose to come to "RadGrid1_ItemDataBound" event, but its not firing the above event, instead off the grid is hiding

Find the Attached screenshots:
Page1.jpg ---> It is displaying the Grid with data.
Page2.jpg ---> When i double click on the row, then the grid is hiding and the "RadGrid1_ItemDataBound" Event is not firing.

Below is the Code for your reference
########################################################################################################
<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" EnableEmbeddedSkins="True"
                                            AllowSorting="True" OnDeleteCommand="RadGrid1_DeleteCommand" AutoGenerateColumns="False"
                                            Width="340px" OnItemDataBound="RadGrid1_ItemDataBound" AllowAutomaticUpdates="false"
                                            AllowAutomaticInserts="false" AllowFilteringByColumn="false">
                                            <MasterTableView DataKeyNames="RowNum,Option" EditMode="InPlace" GridLines="None" Width="100%" 
                                                    NoMasterRecordsText="No data fields to display.."
                                                HeaderStyle-HorizontalAlign="Center">
                                                <Columns>
                                                    <telerik:GridBoundColumn ReadOnly="true" DataField="RowNum" Visible="false" HeaderText="RowNum"
                                                        UniqueName="RowNum">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" DataField="Option" HeaderText="Option" UniqueName="Option">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" Visible="true" DataField="Values" HeaderText="Values"
                                                        UniqueName="Values">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" HeaderText="ValuesWithCap" DataField="ValuesWithCap" UniqueName="ValuesWithCap" Visible="false">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" HeaderText="Range Name" DataField ="RangeName" UniqueName="RangeName" Visible="true">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridButtonColumn CommandName="Delete" HeaderText="Delete" ButtonType="ImageButton"
                                                        ImageUrl="~/Images/btn/btn_delete.gif" UniqueName="Delete">
                                                    </telerik:GridButtonColumn>
                                                </Columns>
                                            </MasterTableView>
                                            <ClientSettings>
                                                <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnGridCreated="GridCreated"
                                                    OnCommand="GridCommand" />
                                            </ClientSettings>
                                        </telerik:RadGrid>





 <script type="text/javascript">
        
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
            
            function EndRequestHandler(sender, args) {
                if (args.get_error() != undefined) {
                        args.set_errorHandled(true);
                        location.reload(true);
                   
                }
            } 


            var hasChanges = false, inputs, dropdowns, editedRow;


            function TrackChanges(e) {
                hasChanges = true;
            }


            
            function RowClick(sender, eventArgs) {


                if (editedRow != null) {
                    hasChanges = false;
                    $find("<%= RadGrid1.MasterTableView.ClientID %>").updateItem(editedRow);
                }
            }
            function RowDblClick(sender, eventArgs) {
                editedRow = eventArgs.get_itemIndexHierarchical();
                    $find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(editedRow);
            }
            function GridCommand(sender, args) {
                if (args.get_commandName() != "Edit") {
                    editedRow = null;
                }
            }
            function GridCreated(sender, eventArgs) {


                var gridElement = sender.get_element();
                var elementsToUse = [];
                inputs = gridElement.getElementsByTagName("input");
                for (var i = 0; i < inputs.length; i++) {
                    var lowerType = inputs[i].type.toLowerCase();
                    if (lowerType == "hidden" || lowerType == "button") {
                        continue;
                    }


                    Array.add(elementsToUse, inputs[i]);
                    inputs[i].onchange = TrackChanges;
                }


                dropdowns = gridElement.getElementsByTagName("select");
                for (var i = 0; i < dropdowns.length; i++) {
                    dropdowns[i].onchange = TrackChanges;
                }


                setTimeout(function() { if (elementsToUse[0]) elementsToUse[0].focus(); }, 100);
            }


        </script>


protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
    {
        DataRowView rowView = (DataRowView)e.Item.DataItem;
        if (e.Item is GridDataItem && e.Item.IsInEditMode)
        {
            int index = e.Item.ItemIndex;
            DataTable dt;
            string uniqueValues = string.Empty;
            ArrayList arrValues = new ArrayList();
            if (Session["RangeList"] != null)
            {
                dt = (DataTable)Session["RangeList"];
                DataRow dr = dt.Rows[index];
                this.txtRangeName.Text = dr["RangeName"].ToString();
                this.RCBOptions.SelectedValue = dr["OptionIndex"].ToString();
                uniqueValues = dr["ValuesWithCap"].ToString();
                this.hdnTempRangeId.Value = index.ToString();
                ViewState["hdnTempRangeId"] = index.ToString();
                arrValues.Add(uniqueValues.Split('^'));
                for (int i = 0; i < ((string[])(arrValues[0])).Count(); i++)
                {
                    RadListBoxItem lst = new RadListBoxItem();
                    lst.Text = ((string[])(arrValues[0]))[i].ToString();
                    lst.Value = ((string[])(arrValues[0]))[i].ToString();
                    UsrSelectedValueListBox.Items.Add(lst);
                }
                RadGrid1.DataSource = dt;
                RadGrid1.DataBind();
            }
        }
    }


Please give us a good solution for this issue ASAP. We need it urgently...

Thanks
Alexis
Alexis
Top achievements
Rank 1
 answered on 03 Jan 2012
4 answers
249 views
Hi all,
Can u avoid every time page is loaded when the radwindow is open or close?
please let me know
Princy
Top achievements
Rank 2
 answered on 03 Jan 2012
1 answer
200 views

Hi every body
I'm currently working with control RadGrid, my module I have 4 RadGrid, one of them has hierarchy, and when I want to work with the last RadGrid Control, it does not work, because when I press a icon from a column that  call a itemcommand event don't work it, don't make anything, i have the next code:

<telerik:RadGrid ID="grdInvitacionPos" runat="server" Skin="Windows7"
AutoGenerateColumns="False" Width="700px"
OnItemCommand="grdInvitacionPos_ItemComm">
<MasterTableView>
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chkEnviar" runat="server" CausesValidation="false" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="Compania"
HeaderStyle-HorizontalAlign="Center" HeaderText="Compañia">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Nombre"
HeaderStyle-HorizontalAlign="Center" HeaderText="Nombre">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TipodeParticipante"
HeaderStyle-HorizontalAlign="Center" HeaderText="Tipo de Participante">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Editar Correo">
<ItemTemplate>
<asp:ImageButton ID="send" runat="server" CommandName="Enviar" CausesValidation="false"
ImageUrl="~/images/DOER_IMAGES/delete.gif" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>




protected void grdInvitacionPos_ItemComm(object sender, GridCommandEventArgs e)
        {            
            GlobalNotify.Text = "item command";
            GlobalNotify.Show();
        }

I hope you can help me

Thak you for your attention

Good Day

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2012
0 answers
140 views
Hi,

Question:
How to show update progress(image) in asp:wizard control?

I have following scenario:
In a content page, I have Wizard control, which contains user controls in the steps.
I want to show update progress in each steps of the wizard.
Which control is suitable for this purpose? e.g. asp:Updatepanel with radajaxloadingpanel or RADAJAXPanel with radajaxloadingpanel?
And can you please provide me example?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 asked on 03 Jan 2012
1 answer
100 views

Hi,

We need to hide the GroupExpandCollapse column for groping with RadGrid.

We tried following two ways -

1) Set AllowGroupExpandCollapse="false" in client setting.

2) Add ExpandCollapseColumn and set visible= "false"

But both are not working.

Please let us know how to hide the GroupExpandCollapse column for groping with RadGrid.

Regards,

Shirish

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2012
1 answer
382 views
Hello Telerik,

I am using the RadWindow for displaying some RadConfirms, but the coding doesn't seem to support \r or \n.

<telerik:RadWindowManager runat="server" ID="RadWindowManager1" EnableShadow="true"  />

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
//![CDATA[
var myName = myMasterTable.get_selectedItems()[0].getDataKeyValue( 'Name' );
var myPrompt = "Are you sure you want to delete this program?\r\n\r\n";
alert( myPrompt + myName );
radconfirm(myPrompt + myName, ConfirmProgramDeleteCallBackFn, 330, 100, null, 'Delete Program?' );

The "alert" shows fine, with "myName" being a spaced below the "myPrompt", but not the RadWindow the "myName" value appears after the "...program?", no linefeeds. Does it have to be coded some different way?

Thanks!
SDI


Princy
Top achievements
Rank 2
 answered on 03 Jan 2012
2 answers
117 views
Hello!
I have questions.

Q1. RadEditor is distorted when I set height to 300.  (Please refer to 'editor.jpg')
How can I fix it?

Q2. I want to use custom css. So I changed from Editor.Default.css to Editor.DefaultCustom.css
But when I applied it, icon disappeared. (Refer to 'editor_disappearicon.jpg')
What's wrong?
Here is part of my css.
.DefaultCustom.RadEditor
{
    background-color: #ececec;
} 
/* reWrapper */
.DefaultCustom.reWrapper
{
    border: solid 1px #828282;
} 
.DefaultCustom.RadEditor .reContentCell
{
    border: solid 1px #828282;
}
 /* common settings for .reModule, .reEditorModes and .reWrapper */
.DefaultCustom.reColorPicker,
.DefaultCustom.reInsertTable,
.DefaultCustom.reDropDownBody,
.DefaultCustom.reCustomLinks a:hover
{
    border: solid 1px #828282;
}
Hee
Top achievements
Rank 1
 answered on 03 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?