Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
190 views

I remotely took an image from web into my asp:Image   , now I want to insert that image into sql server , please help ,with a simple table id(pk)  ,my image(image) wirte some hint ot code ,I later will be needing it to bound with RabBinary image column 

Or is it possible to insert image taken from web  into the sql server image datatype when only thing avialable to you is image url 

the above solution if I can do will be great , but any other suggestion by which I can store user image along side its row in db and keep its image privacy is also wellcome 

thanks 

Andrey
Telerik team
 answered on 09 Feb 2012
6 answers
190 views
Hi,

I have a RadComboBox as a UserControl ,

I Created Some Custom Properties to it from CodeBehind ,
I Succedded adding a Server Event which is  OnSelectedIndexChanged .

The Question is:

How to add a Client Event On it.

 --> Specifically I want to add OnClientSelectedIndexChanged Event

Please Can anyone tell me how to do that

I believe it is a JavaScript Code or Something like that

I need Help Quickly Please...

Best Regards,

Mahmoud
Mahmoud
Top achievements
Rank 1
 answered on 09 Feb 2012
1 answer
161 views
Hello,

I am using window manger and have two window within it as shown:

<telerik:RadWindowManager ID="wndwManager" runat="server">
      <Windows>
          <telerik:RadWindow runat="server" Behaviors="Maximize,Close,Move,Minimize" ID="editorWindow"
              VisibleStatusbar="false" Width="800px" OnClientClose="OnWindowClose" ShowOnTopWhenMaximized="true" Modal="true"
              Height="500px" Style="z-index: 2900; position: absolute"/>
          <telerik:RadWindow runat="server" Behaviors="Maximize,Close,Move,Minimize" ID="ratesWindow"
              VisibleStatusbar="false" Width="800px" OnClientClose="OnWindowClose" Modal="true"
              Height="500px" Style="z-index: 7001"/>
      </Windows>
  </telerik:RadWindowManager>

Now, as you can see i have set the z-index for both the window, the issue is when i open the window 2 from window 1, window 2 is getting open behind window 1 if window 1 is maximize. If window 1 is not in maximize state everything works find. i want to open window 2 above window 1 when window 1 is maximized..

Thanks.
Dhaval
Princy
Top achievements
Rank 2
 answered on 09 Feb 2012
15 answers
326 views
It seems RadMonthYearPicker is not firing SelectedDateChanged when it´s part of a web user control. Although AutoPostBack is set to true the event is not fired.Am i missing something here or I might expect a different behaviour when it´s running in a .ascx?
Radoslav
Telerik team
 answered on 09 Feb 2012
3 answers
250 views
I'm working with the RadToolBar, encapsulated within a RadPane, encapsulated within a RadSplitter;

The goal is to programmatically access a RadButton, which is encapsulated within an <ItemTemplate> section of a RadToolBarButton;

The code section is displayed below;

Thanks in advance for any insight;

<telerik:RadSplitter>   
  
<telerik:RadPane ID="RadPane5" Runat="server" Width="100%" BackColor="White" BorderColor="Transparent" BorderWidth="0px" Visible="false" Scrolling="None">
  
     <telerik:RadToolBar ID="RadToolBar3" Runat="server" Height="26px" Width="100%" BackColor="Transparent" BorderColor="Transparent" Visible="false" onbuttonclick="RadToolBar3_ButtonClick">
                    <Items>  
                        <telerik:RadToolBarButton runat="server" Value="TemplateTextBox" CommandName="rcbCustomers" >    
                           <ItemTemplate>  
                                <asp:Label Text="Customer" runat="server" ></asp:Label>
                                <telerik:RadComboBox ID="rcbCustomer" runat="server" Text="Customers"></telerik:RadComboBox>
                                <asp:Label ID="Group" Text="Group" runat="server" ></asp:Label>
                                <telerik:RadComboBox ID="rcbGroup" runat="server" Text="Group"></telerik:RadComboBox>
                                <asp:Label ID="Provider" Text="Provider" runat="server" ></asp:Label>
                                <telerik:RadComboBox ID="rcbProvider" runat="server" Text="Provider"></telerik:RadComboBox>
                                 <asp:Label ID="Location" Text="Location" runat="server" ></asp:Label>
                                <telerik:RadComboBox ID="rcbLocation" runat="server" Text="Location"></telerik:RadComboBox>
  
                                <telerik:RadButton ID="rbViewReport" runat="server" Text="View Report" CommandName="View Report"></telerik:RadButton>
  
                           </ItemTemplate>  
                        </telerik:RadToolBarButton>  
                        <telerik:RadToolBarButton runat="server">   
                        </telerik:RadToolBarButton>  
                   </Items>  
                </telerik:RadToolBar>
  
             <rsweb:ReportViewer ID="ReportViewer7" runat="server" Width="100%" PageCountMode="Actual" Visible="false" ></rsweb:ReportViewer>
  
        </telerik:RadPane>
  
</telerik:RadSplitter>
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
2 answers
150 views


hi
i have a radgridview that it full by a dataset while load my form.
it's fields are number, Id,name,familly that type of number field & Id field is "int" into sqlserver table,now i want number & Id field be a linkable cell while loads my  form, and i want while click on the Id field (1,2,3,.....) or click on the  number  field (1,2,3,......)  open a new form or show a message & other things,
plz help me,
already thanks a lot
Zahra
Top achievements
Rank 1
 answered on 09 Feb 2012
2 answers
71 views
hi friend.
iam collecting 3 informations like id, name,and address.
id is auto generated in server. 
when first time user enters the data, he gives name and address details and after clicking submit button, the data goes to server and fetched back to screen to display in rad grid with auto generate id.(this is done in server side coding).
when in click a row in grid, the name values and address from grid to be placed in txtname and txtaddress(this is done in client side).
for updating the the values i need to place id somewhere.
i used hiddenfield or label(visible="false"), it throws javascript error that "not a object".
if i used rad txtbox , id is placing in that txtbox without any problem, if i make that txtbox visible ="false", again iam getting same error.
is there any properties like "tag" or some otherway to hide the id for updating.

sorry if my english is poor.
thanks in advance 
S.Rajkumar
Raj
Top achievements
Rank 1
 answered on 09 Feb 2012
1 answer
96 views
Is there an option for the panel bar such that all items will be expanded and the user cannot collapse any of them?
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
1 answer
80 views
How to catch an asp:Button Click event from the <FooterTemplate> of a RadComboBox ,on the server side,
RabComboBox has Checkboxes in it... and on click of that Asp:Button(which is inside FooterTemplate) i need to catch all the chcked Items from the ComboBox
Thanks

Environment:- ASP.Net Ajax 3.5, C#
Princy
Top achievements
Rank 2
 answered on 09 Feb 2012
1 answer
426 views
I have a grid with one detailgird below it that has 2 datakeynames.  I need to get the value of one of the datakey names as part of the
Itemcommand event in order to tell what lkind of transaction the event should be to pull the correct sql code.  I cannot put it in the commandargument becuase I have the sql Id field here.  how can I pull the 2nd datakeyname of a detail table.

<telerik:GridTableView Name="myReIssueGrid" runat="server" DataKeyNames="intReIssueId, intTransTypeId" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10"
                                                AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both" ExpandCollapseColumn-ButtonType="ImageButton"
                                                ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?