Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
191 views
I Have RadAjaxManager and RadScriptManager , i used RadAjaxManager cotrol a button. but when i click the button, it doesnt response, when i comment for the RadAjaxManager, then the button can work d? anyone can help me solve the problem?

<telerik:RadScriptManager ID="ScriptManager1" runat="server"></telerik:RadScriptManager>
 
<telerik:RadWindow ID="RadWindow1" runat="server"
            Behaviors="Resize, Close, Move" Height="300px" Modal="True"
            NavigateUrl="ForgotPassword.aspx" Overlay="True" ReloadOnShow="True"
            VisibleStatusbar="False" Width="450px">
        </telerik:RadWindow>
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="lnkLogin">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="lnkLogin" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="lblMsg" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
this is my code
Dimitar Terziev
Telerik team
 answered on 08 Jun 2011
1 answer
71 views


If i click to add image or video it shows error like this.......
"
Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction

"

Rumen
Telerik team
 answered on 08 Jun 2011
3 answers
76 views
Hi,

   I am using telerik rad rotator (dll licensed version : 2009.3.1208.20 )  in SharePoint 2010 site.I want to set rotator's IntialItemIndex property using javascript.Currently i have written following code server side to set rotator's IntialItemIndex :

 

 

 

 

protected

 

void SetInaitialItemIndex(object sender, EventArgs e)

 

 

{

 

 

 

try

 

 

 

 

 

 

 

 

{

 

 

 

LinkButton senderControl = sender as LinkButton;

 

 

 

 

string indexAsString = senderControl.Text; // Get the value - it should be a number;

 

 

 

 

 

 

 

 

 

 

int initialIndex = int.Parse(senderControl.Text);// Parse to int

 

 

 

 

 

 

 

 

initialIndex = initialIndex - 1;

 

BannerRotator.InitialItemIndex = initialIndex;

 

// Assign the new value ;

 

 

 

 

 

 

 

 

}

 

 

 

catch (Exception oEx)

 

 

{

 

 

 

// HttpContext.Current.Response.Write("Set Inaitial Item Index :" + oEx.Message);

 

 

 

 

 

 

 

 

}

 

}

 

 

 

I want to change above code logic in client side javascript,As i have 5 link buttons on my User control and i am calling above function(SetInaitialItemIndex) in linkbutton' onClick event like below.Also i have attached the screen shot of my web part as attachment.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<asp:LinkButton BorderWidth="0" ID="lnkbtn1" runat="server" Text="1" ForeColor="white" CssClass="prismimagelink" OnClick="SetInaitialItemIndex"></asp:LinkButton>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<asp:LinkButton BorderWidth="0" ID="lnkbtn2" runat="server" Text="2" ForeColor="white" CssClass="prismimagelink" OnClick="SetInaitialItemIndex"></asp:LinkButton

 

 

 

>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<asp:LinkButton BorderWidth="0" ID="lnkbtn3" runat="server" Text="3" ForeColor="white" CssClass="prismimagelink" OnClick="SetInaitialItemIndex"></asp:LinkButton

 

 

 

>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<asp:LinkButton BorderWidth="0" ID="lnkbtn4" runat="server" Text="4" ForeColor="white" CssClass="prismimagelink" OnClick="SetInaitialItemIndex"></asp:LinkButton

 

 

 

>

 

 

 

 

 

 

 

 

 

 
<asp:LinkButton BorderWidth="0" ID="lnkbtn5" runat="server" Text="5" ForeColor="white" CssClass="prismimagelink" OnClick="SetInaitialItemIndex"></asp:LinkButton

 

 

 

>

Please help me and give the code to set initialitemindex property server side.
Its very urgent issue ,i have to release site within 1 day.
Reply ASAP

Thanks,
Divya


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Niko
Telerik team
 answered on 08 Jun 2011
1 answer
77 views
Hi,
I am using telerik radeditor, dll version "2010.2.713.35". Right now we have allowed the users to put any content in the editor, but we would like to restrict them from posting any C# or java script code. please let me know how can i achieve this?

Thanks,
Santosh Kumar
Rumen
Telerik team
 answered on 08 Jun 2011
2 answers
91 views
Hi,

This has been working perfectly up until this morning when I arrived at work. I'm the only one who has changed anything on this project for weeks.. see screenshot attached.

Its rendering itself inside a form that I have in the master page?

This happens in all browsers.. across multiple platforms.. I don't understand why it is happening :/

Regards,

Shane
Rumen
Telerik team
 answered on 08 Jun 2011
2 answers
65 views
Dear Telerik!

Could you please advice me on the following issue:

I'm making a web page with a grid, one of columns of which contains RadDockZones. Thus each line of the grid contains exactly one RadDockZone. There are other RadDockZones on the page (not in the grid!) in which all RadDocks are initially put.

I need to make some of my empty RadDockZones forbidden for all new RadDocks after one RadDock got put in it. (it actually realizes a one-to-one relationship between one type of entities and another)

There are excellent examples on you site showing similar behaviour. Like this one:
http://www.telerik.com/community/forums/aspnet-ajax/docking/limit-number-of-docks-per-zone-without-displaying-placeholder.aspx

But this method does not work for those RadDockZones which live inside the Grid! 

Does being inside a grid change something for a RadDockZone? Why such RadDockZone still enables a RadDock to get put inside it even if the RadDock has the RadDockZone's client ID among the forbidden ones?

I do appreciate any help...

- Stepan.
Stepan
Top achievements
Rank 1
 answered on 08 Jun 2011
1 answer
88 views
wat i want to is i just want to set radtooltip for my checkboxlist item whose text=Home & Office (free) but its not showing i dont know where i m doing mistake kindly help me out

 foreach (ListItem li in chkPlans.Items)
            {
                if (li.Text == "Home & Office (free)")
                {
                    RadToolTip rd = new RadToolTip();
                    rd.TargetControlID = "chkPlans_0";
                    rd.IsClientID = true;
                    rd.ShowEvent = ToolTipShowEvent.OnMouseOver;
                    rd.Position = ToolTipPosition.Center;
                    rd.Text = "testing2";
                    this.Form.Controls.Add(rd);
                    //li.Attributes.Add("title", "testing");


                }




                li.Text = li.Text + " ?";
            }
Marin Bratanov
Telerik team
 answered on 08 Jun 2011
2 answers
61 views
I have a grid using a GridDateTimeColumn formatted from a stored procedure as mm/dd/yyyy.  The textbox alongside the DatePicker to filter zero supresses in the month and day so Equal To filtering doesn't work.  How do I fix this?
<telerik:GridDateTimeColumn UniqueName="ShipDate" DataField="ShipDate" PickerType="DatePicker" HeaderText="Ship Date" DataFormatString="{0:D}" CurrentFilterFunction="EqualTo" DataType="System.DateTime" FilterListOptions="VaryByDataType" >
</telerik:GridDateTimeColumn>
SELECT StoreNumber,
       AO.BoothNumber,
       AO.ItemID,
       ItemDescription,
       CONVERT(VARCHAR,ShipDate,101) AS ShipDate, .....
Elliott
Top achievements
Rank 2
 answered on 08 Jun 2011
2 answers
67 views
Hi everyone,

I'm currently using a grid that allow the multi-selection. What I want is once the user clicks on ADD, all the selected data are add in a database. My problem is I can't find the value of the selecteds values. If "AllowMultiRowSelection" is set to false, it's simple, I just have to use the propriety selectedValue. But if many row are selected, this propriety will only return one selectedValue. I tried the propriety selectedValues, but it does the same. I read in the documentation that I can use a GridDataItem to access a row, but I don't know if it is the best solution. May someone help me ?

Thank you   
David
Top achievements
Rank 1
 answered on 08 Jun 2011
4 answers
82 views
I have a RadPanelBar with some of it's Items having RadListBoxes within their content templates. when I collapse the PanelBarItem, it does in fact collapse, but the RadListBox control remains visible until the collapse animation finishes, while some other form input controls (normal asp.net) like textboxes and drop down lists disappear as the collapsing animation occurs.

Any reason why this is happening? I am not setting any kind of higher z-index on the specific controls that seem to remain visible during the collapsing.

Issue seems to be isolated to just the RadListBoxes. I'm guesstimating this is related to a styling issue and/or the rendered structure of the ListBox control?

The issue is not a deal-breaker by any means; just a minor annoyance. Though I would love to get it resolved.
Paul J
Top achievements
Rank 1
 answered on 08 Jun 2011
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?