Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Is there a way to have the auto-generated editor use comboboxes for fields which have FKs over to other tables instead of textboxes with the GUIDs?...

I mean a way to have it auto-generate this for an OpenAccess Datasource, I know how to manually go about it...I just want to eliminate the handling of all the backend stuff :)

Rosen
Telerik team
 answered on 22 Jul 2010
1 answer
114 views
I have need, that the chart control should take all the available space on the page.
is it possible then I can fix or change the width and height of chart control at the run time.

or can I give the chart width and height in percentage
Yavor
Telerik team
 answered on 22 Jul 2010
2 answers
247 views
I have the following is my grid template column and the code behind grid databound and item command.

How can i add radconfim to the same? When user chooses yes, i want the code in item command to execute. 

<telerik:GridTemplateColumn UniqueName="Retrieve"> 

<ItemTemplate><asp:LinkButton ID="lnkRetrieve" runat="server" CausesValidation="false" CommandArgument='<%# cstr(Eval("id"))%>'  CommandName="Retrieve" Text="Retrieve"></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>

Private Sub grd_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grd.ItemDataBound If TypeOf e.Item Is GridDataItem Then
Dim llnkRetrieve As New LinkButton
  llnkRetrieve =
CType(e.Item.FindControl("lnkRetrieve"), LinkButton)
llnkRetrieve.Attributes.Add(
"onclick", "return confirm('Are you sure you want to retrieve?');")
End If 

End Sub

 

Protected 

 

Sub grd_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles grd.ItemCommand
If e.CommandName = "Retrieve" Then
dim CommandArgument As String() = e.CommandArgument.ToString().Split(",")
  Session(
"ID") = CInt(CommandArgument(0))

 Respose.Redirect(

"Page.aspx", True) End If
End Sub

 

 

Svetlina Anati
Telerik team
 answered on 22 Jul 2010
1 answer
127 views
How do I get the commandargument to hold the datatextfield value.  If I remove the datatextformatstring, the column shows the value for ID.  I want to pass the ID value as the argument.  Below produces an argument of {0}.

<telerik:GridButtonColumn CommandArgument="{0}" CommandName="SendEmail"
    ConfirmText="Do you want to send an email to all residents about this service?"
    DataTextField="ID" DataTextFormatString="Send Email" Text="SendEmail"
    UniqueName="column2">
</telerik:GridButtonColumn>
Shinu
Top achievements
Rank 2
 answered on 22 Jul 2010
1 answer
89 views
I'm evalueting Rad Controls so i put a radgrid on my aspx page.
I use keyboard settings to navigate through rows. When i stop on a row i would like to tab and set focus on controls in a template column of the same row. Any idea?
Tsvetina
Telerik team
 answered on 22 Jul 2010
1 answer
472 views
Hello ,

I have initially bind 10 rows to rad grid and display only 3 rows to user, hide remaining rows from item databound event .

Now i have one button on out side grid [+] to add rows in grid .

What i want to do is when user click on add button, i want to show next hidden row by JavaScript .

Right now I call this function when user click on button .

function ShowRow()
   {        
       var grdDeparture=document.getElementById("<%=grdDeparture.ClientID%>"); 
       alert(grdDeparture);
//
var masterTableView = grdDeparture.MasterTableView; 
//above line not working , i cannot find MasterTableView here .
//Is there any reference that i have to add to access MasterTableView?
   } 

If any one know Please Help me .
Please send me code .
-Thanks
Princy
Top achievements
Rank 2
 answered on 22 Jul 2010
1 answer
85 views
Hello

i need when user click on expand to show nested view call my code which fill textboxes and other control in nested  view. which event handle it?

Like:

textbox.text = "Now is" + DatTime.Now.ToString();
and others more complicated coding staff here...

which event i must use and how?

Thanx for everyone to bring me out of labyrint...

Eduard
Tsvetina
Telerik team
 answered on 22 Jul 2010
0 answers
56 views
hi my dear friends :
my radcombobox code is like this :
<telerik:RadComboBox ID="RadcbPersonelCompleteNameInvwNoskhehEdit"
    runat="server" AppendDataBoundItems="True" AutoPostBack="True"
    CausesValidation="False" DataSourceID="sdsPersonelCompleteName"
    DataTextField="PersonelCompleteName" DataValueField="ID" 
    EnableEmbeddedSkins="False"
    MarkFirstMatch="True" MaxHeight="200px"
    OnSelectedIndexChanged="RadcbPersonelCompleteNameInvwNoskhehEdit_SelectedIndexChanged"
    Skin="Office2007ByMe" Width="245px">
</telerik:RadComboBox>

when MarkFirstMatch="True" so Hover And Active Images do Not Work,and when i remove it everything is ok about hover and active.
how can i fix this problem?


thanks in future advance
Majid Darab
Top achievements
Rank 1
 asked on 22 Jul 2010
1 answer
105 views
Hye guys,

I ve got 2 raddatepicker, how can i change the focus form the  first to the second one as soon as the user choose his first date.

Thanks!

Shinu
Top achievements
Rank 2
 answered on 22 Jul 2010
3 answers
143 views
Hi,

Are the Radcontrols supported in Infopath forms?

Trupti
Stanimir
Telerik team
 answered on 22 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?