Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
110 views
var kon = -1;
var a = 'Tam Sitogenetik Yanıt';
var b = 'Kısmi Sitogenetik Yanıt';
var c = 'Minör Sitogenetik Yanıt';
var d = 'Minimal Sitogenetik Yanıt';
var e = 'Yanıt Yok';

kon = $find('cid46889').get_value();

if ($find('cid46889').get_value() != '')
{
if (kon ==  0)  $find('cid47267').set_value(a); 
if (kon >= 1 && kon <= 35) $find('cid47267').set_value(b); 
if (kon >= 36 && kon <= 65) $find('cid47267').set_value(c); 
if (kon >= 66 && kon <= 95) $find('cid47267').set_value(d); 
if (kon > 95) $find('cid47267').set_value(e); 
}
else $find('cid47267').set_value(''); 
----------------------------------------------------------------------
when i enter 0 in textbox, it is return empty. but it must show 'Tam Sitogenetik Yanıt'
it is not giving error but right text is not returning back.
Hatice
Top achievements
Rank 1
 answered on 02 Jul 2013
3 answers
61 views
Hi,

I am using Radscheduler with WCF calling.

 Its working in IE but not working in Mozila and GoogleChrome.

show error -GetAppointment failed.

Please update me.

Thanks,



Plamen
Telerik team
 answered on 02 Jul 2013
0 answers
91 views
Good day,

we have one treeview in a masterpage content, which is skinned using

    <telerik:RadStyleSheetManager ID="rssm" runat="server">
        <StyleSheets>
            <telerik:StyleSheetReference Assembly="Ourskinsproject.Skins" Name="Ourskinsproject.Skins.TreeView.Ourskin.css" />

The CSS file is in our project, and uses the webresource like this

.Ourtreestyle .rtPlus, .rtMinus
{
    background-image: url('<%=WebResource("Ourskinsproject.Skins.TreeView.PlusMinus.png")%>');
}


And the treeview renders correctly. Images are in fact embedded in the DLL.

The problem is:
Inserting the same treeview into a different page, in an IFRAME (no masterpage), "breaks" the skin, which elements become invisible, meaning that they will not be parsed from webresource, and the image urls remain in their
'<%=WebResource("Ourskinsproject.Skins.TreeView.PlusMinus.png")%>'

unparsed format.

We use code to add the skin to the page, like this

    protected override void OnInit(EventArgs e)
    {
...
        StyleSheetReference cssTreeview = new StyleSheetReference("Ourskinsproject.Skins.Treeview.Ourskin.css", "Ourskinsproject.Skins");
...
        radStyleSheetManager.StyleSheets.Add(cssTreeview);


The css is actually present in the page, and its styles are available and applied, but URLs will not be processed by the webresource.

What are we missing? What needs to be done for the css to be parsed, other than adding it to the page?

Thanks in advance.
archimede
Top achievements
Rank 1
 asked on 02 Jul 2013
6 answers
369 views
Hi Team,
I have a radgrid with ClientSelectColumn.
I select a row on first page of the grid, move to second page select 3 rows on second page.
When I come back to first page, my selection on the first page disappears. I mean the selection does not persist.
So I tried what has been said in this post. It works very well as far as visualisation is concerned. It does show that I have my rows selected from different pages.
But when on a button click (outside the grid) I try to loop through this collection, all I get is the records from current selected page and not all the rows selected from different pages.

foreach (GridDataItem item in RadGrid1.SelectedItems)
{
..// Code here
}

RadGrid1.SelectedItems  gives rows from the current selected page only and not the entire selection.

Will you please help me with this?
Any help appreciated.

Thanks,
Lok..
Eyup
Telerik team
 answered on 02 Jul 2013
5 answers
188 views
I have perused your documentation. Please can you tell me the specific file location/path to place the custom CSS file and the specific syntax to update the ListConfig.xml so as to point to the new CSS file.

Thank you
Ianko
Telerik team
 answered on 02 Jul 2013
3 answers
129 views
Hi All,
   we just discovered the RadFilter control.

We had been mostly using standard asp controls to feed parameters into a code behinds method call to a stored procedure, thus every time we wanted to re-filter the data set, we got the data set again with a fresh query.

I had been putting in column by column custom filtering when I stumbled across the RadFilter control.

While the RadFilter control is very powerful, we are afraid some of our less knowledgeable users will be clueless on how to use it.

Can we:
1) Preset the RadFilter with a set of initial filters?
2) Set up "Presets" of commonly used filter sets that I could apply with a button press?
Antonio Stoilkov
Telerik team
 answered on 02 Jul 2013
5 answers
212 views
Hi,

When i use the RadGrid Client setting as below (only when i specify the UseStaticHeaders="true"), Rad grid will not render properly in some internet browsers. Any Idea why?

<ClientSettings EnablePostBackOnRowClick="true">
<Selecting AllowRowSelect="True" />
        <Scrolling AllowScroll="True" ScrollHeight="130px"  UseStaticHeaders="true"/>
</ClientSettings>

P.S: As soon after i remove that property (UseStaticHeaders="true")

Regards,
C
Chirantha
Top achievements
Rank 1
 answered on 02 Jul 2013
5 answers
587 views
Hello everyone,

i have one issue with RadGrid

i want to align my items to right and i tried so many ways

1)<ItemStyle HorizontalAlign="Right" />
2)ItemStyle-HorizontalAlign="Right"

but this doesn't seems to work in my grid

Can anyone help me out?

Thanks,

Princy
Top achievements
Rank 2
 answered on 02 Jul 2013
1 answer
90 views
Good morning,

I have an issue that is driving me out of my mind.  I have created a four page application that uses the RadGrid, RadComboBox and RadListBox.  I'm using .NET 3.5 and VS 2010.  Throughout my development cycle, i have been using IE9 to test functionality and thought I was ready to move into user testing until I was told that the users would be using IE8.  At that point I published my application and attempted to access it using IE8, IE9, Chrome and Firefox.  The application works fine in everything but IE8.

When I access using IE8, my RadComboBoxes do not work.  I can click on the down arrow all I want and they do nothing.  If I open the same pages in any other browswer, the RadComboBoxes work as expected and allow me to choose the values I want.

It appears to have something to do with CSS because when I remove my link to site.css from my master page, the controls work perfectly.  Once I re-enable styling, though, I am unable to get the RadComboBox to work in IE8.  Any ideas or suggestions?
Nencho
Telerik team
 answered on 02 Jul 2013
1 answer
527 views
Hi,

       I Want to change the color of link button  in grid view based on values from database.

For eg :
        value1 - color-green
       value 0 -color red. 


my Query:

 protected void RadGrid1_DataBound(object sender, EventArgs e)
        {
            DataTable dt = objbl.viewenableuser();
            for (int i = 0; i <= dt.Rows.Count - 1; i++)
            {
string value = dt.Rows[i]["empstatus"].ToString();
                if (value.ToString() == "1")
                {

                    LinkButton lbk = (LinkButton)RadGrid1.TemplateControl.FindControl("lnkenable");
                    lbk.ForeColor = System.Drawing.Color.Red;

 if (value.ToString() == "0")

{
}



Thanks ,

Arun.

















                {
                    //RadGrid1.MasterTableView.FindControl("lnkdisable").Visible = false;
                }
            
Princy
Top achievements
Rank 2
 answered on 02 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?