or
label
{
zoom:1;
display: inline-block !important;
}
the style section of the aspx code? I did that. where are you talking about changing the font size to < 100%??
<
asp:TextBox ID="TextBox1" runat="server" BorderStyle="Ridge" BorderWidth="1px"
Height="243px" MaxLength="500" Rows="20" TextMode="MultiLine"
Width="652px" Font-Size="Medium"></asp:TextBox>
| <script type="text/javascript"> |
| function ClientLoadLocations(combo, eventargs) |
| { |
| var locationsCombo = $find("<%= cboLocations.ClientID %>"); |
| var item = eventargs.get_item(); |
| locationsCombo.set_text("Loading..."); |
| if (item.get_index() > 0) |
| { |
| locationsCombo.clearItems(); |
| locationsCombo.requestItems(item.get_value(), false); |
| var comboItem = new Telerik.Web.UI.RadComboBoxItem(); |
| comboItem.set_text("Testing"); |
| locationsCombo.trackChanges(); |
| locationsCombo.get_items().add(comboItem); |
| } |
| else |
| { |
| locationsCombo.set_text(" "); |
| locationsCombo.clearItems(); |
| } |
| } |
| function LocationItemsLoaded(combo, eventargs) |
| { |
| var locationsCombo = $find("<%= cboLocations.ClientID %>"); |
| if (combo.get_items().get_count() > 0) |
| { |
| combo.set_text(combo.get_items().getItem(0).get_text()); |
| combo.get_items().getItem(0).highlight(); |
| } |
| combo.showDropDown(); |
| } |
| </script> |
| <asp:SqlDataSource ID="sdsAsset" runat="server" ProviderName="System.Data.SqlClient" |
| SelectCommandType= "StoredProcedure" |
| SelectCommand= "abspAssetManagement_GetIndividualAsset" |
| DataSourceMode= "DataSet"> |
| <SelectParameters> |
| <asp:QueryStringParameter Name="AssetID" QueryStringField="AssetID" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <table> |
| <tr> |
| <td colspan="2"><asp:Label ID="lblDescription" runat="server">Update location infomation about the asset and click the 'Submit' button below.</asp:Label></td> |
| </tr> |
| <tr> |
| <td> |
| <asp:Label ID="lblAssignedTo" runat="server">Region:</asp:Label><br /> |
| <telerik:RadComboBox ID="cboRegions" runat="server" CausesValidation="false" EnableEmbeddedSkins="false" SkinID="CR" Width="250" |
| OnClientSelectedIndexChanging="ClientLoadLocations"> |
| </telerik:RadComboBox> |
| </td> |
| <td> |
| <asp:Label ID="Label2" runat="server">Floor:</asp:Label><br /> |
| <asp:TextBox ID="txtFloor" runat="server" Width="200" MaxLength="50"></asp:TextBox> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <asp:Label ID="lblAssetName" runat="server">Location:</asp:Label><br /> |
| <telerik:RadComboBox ID="cboLocations" runat="server" CausesValidation="false" EnableEmbeddedSkins="false" SkinID="CR" Width="250" |
| OnClientItemsRequested="LocationItemsLoaded" |
| OnItemsRequested="cboLocations_ItemsRequested"> |
| </telerik:RadComboBox> |
| </td> |
| <td> |
| <asp:Label ID="lblAssetDescription" runat="server">Room:</asp:Label><br /> |
| <asp:TextBox ID="txtRoom" runat="server" Width="200" MaxLength="50"></asp:TextBox> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <asp:Button ID="btnSubmit" runat="server" Text="Save" onClick="btnSubmit_Click" /> |
| <input type="button" value="Cancel" onclick="history.go(-1)" /> |
| <asp:HiddenField ID="hidAssetID" runat="server" /> |
| </td> |
| </tr> |
| </table> |
| public partial class NET2_AssetManager_UserControls_EDITLocationTAB : System.Web.UI.UserControl |
| { |
| #region variables |
| private string strSQL = ""; |
| private string strConnection = ""; |
| string strCompanyCode; |
| string strRegionID; |
| string strLocationID; |
| #endregion |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| //Hardcode |
| strCompanyCode = "0"; |
| //strConnection = ConfigurationManager.ConnectionStrings["conn_crdemo"].ToString(); |
| strConnection = CRConfiguration.Conn; |
| sdsAsset.ConnectionString = strConnection; |
| if (!IsPostBack) |
| { |
| DataView dvSql = (DataView)sdsAsset.Select(DataSourceSelectArguments.Empty); |
| foreach (DataRowView drvSql in dvSql) |
| { |
| hidAssetID.Value = drvSql["AssetID"].ToString(); |
| //strRegionID will be used to select the appropriate item in the Region combo box |
| strRegionID = drvSql["RegionID"].ToString(); |
| //strLocationID will be used to select the appropriate item in the Location combo box |
| strLocationID = drvSql["LocationID"].ToString(); |
| txtFloor.Text = drvSql["Floor"].ToString(); |
| txtRoom.Text = drvSql["Room"].ToString(); |
| } |
| LoadRegions(); |
| LoadLocations(strRegionID); |
| } |
| cboRegions.Focus(); |
| } |
| protected void btnSubmit_Click(object sender, EventArgs e) |
| { |
| } |
| protected void cboLocations_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e) |
| { |
| LoadLocations(e.Text); |
| } |
| private void LoadRegions() |
| { |
| DataTable dtRegions = new DataTable(); |
| strSQL = "abspCommon_RegionListByCompany '" + strCompanyCode + "'"; |
| dtRegions = CRAccess.GetDataTable(strSQL); |
| cboRegions.DataTextField = "Region"; |
| cboRegions.DataValueField = "ID"; |
| cboRegions.DataSource = dtRegions; |
| cboRegions.DataBind(); |
| cboRegions.Items.Insert(0, new RadComboBoxItem("Select A Region...")); |
| if (!IsPostBack) |
| { |
| if (strRegionID != "0") |
| { |
| cboRegions.Items.FindItemByValue(strRegionID).Selected = true; |
| } |
| } |
| } |
| private void LoadLocations(string strRegionID) |
| { |
| DataTable dtLocations = new DataTable(); |
| strSQL = "abspCommon_LocationListByCompanyAndRegion '" + strCompanyCode + "','" + strRegionID + "'"; |
| dtLocations = CRAccess.GetDataTable(strSQL); |
| cboLocations.DataTextField = "Name"; |
| cboLocations.DataValueField = "ID"; |
| cboLocations.DataSource = dtLocations; |
| cboLocations.DataBind(); |
| cboLocations.Items.Insert(0, new RadComboBoxItem("Select A Location...")); |
| if (!IsPostBack) |
| { |
| if (strLocationID != "0" && strLocationID != "") |
| { |
| cboLocations.Items.FindItemByValue(strLocationID).Selected = true; |
| } |
| } |
| } |
| } |
Hi,
I am trying to display radgrid in radtooltip.Some how the grid is not visible in the tool tip.
I used the following code
<telerik:RadToolTip>
<telerik:RadGrid runat="server" ID="rdItemType" Skin="Web20">
</telerik:RadGrid>
</telerik:RadToolTip>
Can anybody help me ASP.
Thanks.
Eva