HTML客户端上的自定义控件不显示标签 [英] Custom Control on HTML Client Shows no Label

查看:104
本文介绍了HTML客户端上的自定义控件不显示标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在行布局中创建了一个自定义控件,并编辑了渲染代码.在控件的属性上,我选择了标签位置:顶部"但标签完全没有显示.

I've created a Custom Control inside a Rows Layout and edited the Render Code. On the control's properties, I chose "Label Position: Top" but the Label is not showing at all. Help, anyone?

推荐答案

您可以使用相同的jQuery序列在自定义控件之前立即为自定义控件插入标签.例如:

You can insert a label for your custom control immediately prior to your custom control using the same jQuery sequence.  For example:

var myControlLabel =

var myControlLabel =


('< h5>标签标签label</h5>');
('<h5>Label label label</h5>');

var myCustomControl =

var myCustomControl =


('< div></div>');
('<div></div>');

myControlLabel.appendTo(

myControlLabel.appendTo(


这篇关于HTML客户端上的自定义控件不显示标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆