Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
666 views
Hello,
Is there a method to convert the Barcode into a solid image rather then use javascript & css?  This would be ideal in scenarios where you want to e-mail the Barcode to the end-user and not have to bother with embedding js or having them visit the site?
Long
Top achievements
Rank 1
 answered on 24 Jun 2015
1 answer
100 views

Dears,

 

we are using the RadGrid with a lot of TemplateColumns. Now we setup the grouping for several columns

Groupable="true" GroupByExpression="FIELDNAME FIELDNAMEALIAS GROUP BY FIELDNAME"

Because of a multi language system we have to switch the FIELDNAMEALIAS based on context setting

I tried to use literal replacer like <%$ECMResource: mgm_matgr %>, but this did not work. Is there a way to change the alias without code behind?

 

Thanks

Oliver

Maria Ilieva
Telerik team
 answered on 23 Jun 2015
3 answers
268 views

Hi i have 3 radgrid in my application. It is in Parent page. In child page i have the data's to be inserted into the list(not just a grid insert, but a page with validation controls and all). I'm using jquery popup for that.

After closing the popup window i want to rebind the radgrid in client side using  $find("<% =Grid1.ClientID %>").get_masterTableView().rebind();

It is working fine, if we have only one grid. However it is not working if it 3 grids like below:

$find("<% =Grid1.ClientID %>").get_masterTableView().rebind();

$find("<% =Grid2.ClientID %>").get_masterTableView().rebind();

$find("<% =Grid3.ClientID %>").get_masterTableView().rebind();

The above code executes in client side and rebinds only the LAST one.. here that Grid3 rebinds.

FYI : Now i want  to achieve it within this jquery popup not with Radwindow manager.

Maria Ilieva
Telerik team
 answered on 23 Jun 2015
1 answer
181 views

It seems no matter what I do I end up with a space between columns of about 20px or so.  I have used the CSS below, which I found in another thread, to remove margins and padding.  This help a little but still some space.  How can I remove the space between columns?  I am very new to html, css, and asp.net so I am struggling a bit.

 

       html .content .t-col,
        html .content .t-container {
            padding: 0;
            margin: 0;
            
        }

        html .content {
            padding: 0;
            margin: 0;
        }  


Nencho
Telerik team
 answered on 23 Jun 2015
1 answer
174 views

Hi,

 I have a RadScheduler set up to use web service binding. Everything works okay, except when navigating to another page before the scheduler has finished retrieving the appointments (either clicking away or hitting F5 can do this), an alert will be thrown with the message 'The server method 'GetAppointments' failed' or 'The server method 'GetResources' failed. I don't want to prevent the user navigating away, so I need to be able to handle/suppress this error message. Is there any way to do this?

 You can reproduce the same thing on the demo page at http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx, hit F5 after the scheduler appears but before the appointments have been populated. I have so far only reproduced this in Firefox. The timing is quite tricky to get it on the demo, but if the scheduler were using a slower data provider it would be easier to replicate.

Bozhidar
Telerik team
 answered on 23 Jun 2015
4 answers
146 views
Hi
I have a navigator control that it's nodes (RadLinkButton ) have  load on demand tooltip to display some extra info
sometimes when I'm working and clicking on navigator nodes ( when the tooltip has not been loaded completely) I get this error :

RadToolTipManager response error :
Exception=Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.
The status code returnde from the server was:0

how can I prevent this message to be displayed
Thanks for your feedbacks
Marin Bratanov
Telerik team
 answered on 23 Jun 2015
1 answer
216 views

Hi,

I need to do validation of all steps in a radwizard when I click on a button outside wizard.

Any suggestions on how to do this?

 

Thanks,

Anil

Plamen
Telerik team
 answered on 23 Jun 2015
2 answers
151 views

I have this column in my RadGrid:

<telerik:GridTemplateColumn DataField="Data" HeaderText="Image" UniqueName="Upload">
   <ItemTemplate>
     <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Data") %>'
                                            AutoAdjustImageControlSize="false" Height="126px" Width="180px" ToolTip='<%#Eval("Name", "Photo of {0}") %>'
                                            AlternateText='<%#Eval("Name", "Photo of {0}") %>'></telerik:RadBinaryImage>
      </ItemTemplate>
  <EditItemTemplate>
 <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientFileUploaded="OnClientFileUploaded"
                                            AllowedFileExtensions="jpg,jpeg,png,gif" MaxFileSize="1048576" onvalidatingfile="RadAsyncUpload1_ValidatingFile">
  </telerik:RadAsyncUpload>
 </EditItemTemplate>
</telerik:GridTemplateColumn>

and I am battling to export the content of the grid to pdf since the result I get does not show the pictures.

These are my export settings:

 <ExportSettings ExportOnlyData="True" FileName="InventoryWilton" IgnorePaging="True">
                            <Pdf PageWidth="21cm" PageHeight="19cm" PaperSize="A4">
                            </Pdf>
                            <Csv EncloseDataWithQuotes="False" />
                        </ExportSettings>
 

How can I export the grid to pdf including the binary images?

Thanks for helping

 

 

 

Felice
Top achievements
Rank 1
 answered on 23 Jun 2015
1 answer
164 views

when I create a dynamically control within RadWizard, for example:

// Code Behind

Label mylabel = new Label ();             

myetiqueta.ID = "lbl" + step.UniqueID; // step is a variable type RadWizardStep             

etiqueta.Text = "Any Value"             

step.Controls.Add (label); // Add control

if I want to access control in the code behind, for example

RadWizard.WizardSteps [0] .Controls [0];
I do not have access to control, is there any solution?

Plamen
Telerik team
 answered on 23 Jun 2015
1 answer
284 views

I know I can do this with code, but is there no way to populate a Datasource InsertParameter from a control?  In this case I want to update the datasource of a second grid with a value in the selected row of the first grid.

<asp:SqlDataSource ID="dsCommodities" runat="server" ConnectionString="<%$ ConnectionStrings:Market_Directory.My.MySettings.dbConnStr %>" DeleteCommand="DELETE FROM [Commodity] WHERE [CommodityID] = @CommodityID" InsertCommand="INSERT INTO [Commodity] ([CommodityName], [SortOrder], [Published], [MaterialID]) VALUES (@CommodityName, @SortOrder, @Published, @MaterialID)" SelectCommand="SELECT [CommodityID], [CommodityName], [SortOrder], [Published], [MaterialID] FROM [Commodity] WHERE ([MaterialID] = @MaterialID) ORDER BY [SortOrder]" UpdateCommand="UPDATE [Commodity] SET [CommodityName] = @CommodityName, [SortOrder] = @SortOrder, [Published] = @Published, [MaterialID] = @MaterialID WHERE [CommodityID] = @CommodityID">
    <DeleteParameters>
        <asp:Parameter Name="CommodityID" Type="Int32" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="CommodityName" Type="String" />
        <asp:Parameter Name="SortOrder" Type="Int32" />
        <asp:Parameter Name="Published" Type="Boolean" />
        <asp:ControlParameter ControlID="grdMaterials" DefaultValue="-1" Name="MaterialID" PropertyName="SelectedValue" Type="Int32" />
    </InsertParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="grdMaterials" DefaultValue="-1" Name="MaterialID" PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
    <UpdateParameters>
        <asp:Parameter Name="CommodityName" Type="String" />
        <asp:Parameter Name="SortOrder" Type="Int32" />
        <asp:Parameter Name="Published" Type="Boolean" />
        <asp:Parameter Name="MaterialID" Type="Int32" />
        <asp:Parameter Name="CommodityID" Type="Int32" />
    </UpdateParameters>
</asp:SqlDataSource>

 

Viktor Tachev
Telerik team
 answered on 23 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?