This is a migrated thread and some comments may be shown as answers.

RadWindow hyperlink ,aspnetbutton problem

4 Answers 73 Views
Window
This is a migrated thread and some comments may be shown as answers.
erhancelik
Top achievements
Rank 1
erhancelik asked on 29 Dec 2008, 02:38 PM
Hi,

i try to call RadWindow in Grid..

this is my codes ,why i cant call RadWindow with hyperlink ?,why my code doesnt working?

thx..


 

<script type="text/javascript">

 

 

 

 

function closeWin()

 

{

 

var oWnd = GetRadWindow();

 

oWnd.close();

}

 

 

function ShowPricesTable(j,op1)

 

{

 

var oWnd = window.radopen("Prices.aspx?catId="+j+"&id="+op1, "PricesTable");

 

oWnd.SetUrl(oWnd.GetUrl());

}

 

 

</script>

 



 

<asp:GridView ID="gw" runat="server" AllowPaging="True" AutoGenerateColumns="False"

 

 

ShowHeader="False" CssClass="Listing" GridLines="None" OnRowDataBound="gv_RowDataBound">

 

 

<Columns>

 

 

<asp:TemplateField>

 

 

<ItemTemplate>

 

..........................

 

<asp:HyperLink ID="hlPriceType" Visible="false" runat="server" NavigateUrl="#" onclick='ShowPricesTable("<%#Eval("PRICEID")%>","<%#Eval("CATID")%>");return false;'>select</asp:HyperLink>
....................................................

i try to aspnetbottın onclick but again have a problem



 

<

rad:RadWindowManager ID="rwmamanger" runat="server" Behavior="Close,Move" VisibleStatusbar="False"

 

 

 

 

OnClientClose="closeWin" Width="640px" Height="500px" Skin="GUH" SkinsPath="~/App_Themes/default/Skins/Window"

 

 

 

 

RadControlsDir="RadControls/">

 

 

 

 

<Windows>

 

 

 

 

<rad:RadWindow ID="FiyatTablosu" Modal="True" runat="server" Title="Fiyat Tablosu"

 

 

 

 

Left="" NavigateUrl="" Skin="GUH" SkinsPath="~/App_Themes/default/Skins/Window"

 

 

 

 

Top=""></rad:RadWindow>

 

 

 

 

</Windows>

 

 

 

 

</rad:RadWindowManager>

 

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 29 Dec 2008, 02:55 PM
Hi erhancelik,

Make sure that the string is parsed correctly:
'ShowPricesTable("<%#Eval("PRICEID")%>","<%#Eval("CATID")%>");return false;'

If you still experience problems, please open a support ticket and send full, working project (with fake database), where the problem can be reproduced. We will check it and do our best to help.


Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
erhancelik
Top achievements
Rank 1
answered on 29 Dec 2008, 03:03 PM
Yes , i am sure..
it is dont working ,
i have in the page AjaxPanel ..its problem ?
0
erhancelik
Top achievements
Rank 1
answered on 29 Dec 2008, 03:05 PM
Yes , i am sure..
it is dont working ,
i have in the page AjaxPanel ..its problem ?
0
Georgi Tunev
Telerik team
answered on 29 Dec 2008, 03:18 PM
Hello erhancelik,

I cannot tell that for sure - to be able to help I will need to have a better view over your exact setup and logic. Please prepare a small sample project and send it to me in a support ticket - I will check it right away.


Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
erhancelik
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
erhancelik
Top achievements
Rank 1
Share this question
or