Click here to Skip to main content
15,905,963 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerCross Post Pin
Pete O'Hanlon17-Jul-08 10:59
mvePete O'Hanlon17-Jul-08 10:59 
GeneralRe: Cross Post Pin
led mike17-Jul-08 18:59
led mike17-Jul-08 18:59 
GeneralRe: Cross Post Pin
Pete O'Hanlon18-Jul-08 3:53
mvePete O'Hanlon18-Jul-08 3:53 
GeneralRe: Cross Post Pin
led mike18-Jul-08 6:08
led mike18-Jul-08 6:08 
JokeRe: Cross Post Pin
Paul Conrad25-Jul-08 16:40
professionalPaul Conrad25-Jul-08 16:40 
QuestionAny one can help me for options is null or not an object error while poulating ASPxComboBox by using java script Pin
DSubbu17-Jul-08 3:22
DSubbu17-Jul-08 3:22 
AnswerRe: Any one can help me for options is null or not an object error while poulating ASPxComboBox by using java script Pin
Paul Conrad25-Jul-08 16:42
professionalPaul Conrad25-Jul-08 16:42 
Questionoptions is null or not an object error while poulating ASPxComboBox by using java script Pin
DSubbu17-Jul-08 2:51
DSubbu17-Jul-08 2:51 
Hi
Here i have one ASPxComboBox control (i.e. Dev Express Control).
I am populating this combo box by using javascript. this javascript i am calling in the page onload.
like :

<script type="text/javascript" src="DevComboItems.js" language="javascript"></script>
<script type="text/javascript" language="javascript">
function startfunction()
{
FillItemTypeCombo(document.form1.cmbItems,'Reason for visit');
//FillDevComboItems('Grade');
}
window.onload=startfunction;
</script>

But this is giving error like: 'Dev express' is undefined. Any one can help me please.





This is my java function.


function FillItemTypeCombo(cboItem, sDefaultItem)
{
var sDefaultItem

//cboItem.options.length=0
for(i=0;i<sItemTypeString.split("|").length;i++)
{
if(sDefaultItem == sItemTypeString.split("|"))
{
for(j=0;j<sItemTypeArray.split("|").length;j++)
{
//cboItem.options[j]=new Option(sItemTypeArray.split("|")[j]);
//cboItem.options[0] = new Option(0,new DevExpress.Web.ASPxEditors.ListEditItem ('sItem',0));
cboItem.options[j] = new Option([j],new DevExpress.Web.ASPxEditors.ListEditItem(sItemTypeArray.split("|")[j],[j]));
}
}
}
}


This is my page.

<body>
<form id="form1" runat="server">
<div>
<dxe:ASPxComboBox ID="cmbItems" runat="server"></dxe:ASPxComboBox>

<%-- <asp:DropDownList ID="cmbItems" runat="server"></asp:DropDownList>--%>
</div>
</form>
</body>

Subbu

AnswerRe: options is null or not an object error while poulating ASPxComboBox by using java script Pin
Paul Conrad25-Jul-08 16:42
professionalPaul Conrad25-Jul-08 16:42 
QuestionFIPS compliant CSP's in .net? Pin
Member 9616-Jul-08 11:12
Member 9616-Jul-08 11:12 
AnswerRe: FIPS compliant CSP's in .net? Pin
Mike Dimmick18-Jul-08 6:15
Mike Dimmick18-Jul-08 6:15 
GeneralRe: FIPS compliant CSP's in .net? Pin
Member 9618-Jul-08 6:38
Member 9618-Jul-08 6:38 
GeneralFormatting with Minimum and Maximum Places Pin
Brady Kelly16-Jul-08 5:19
Brady Kelly16-Jul-08 5:19 
GeneralRe: Formatting with Minimum and Maximum Places Pin
drweb8616-Jul-08 5:39
drweb8616-Jul-08 5:39 
GeneralRe: Formatting with Minimum and Maximum Places Pin
Brady Kelly16-Jul-08 5:46
Brady Kelly16-Jul-08 5:46 
Questionsynchronization of options Pin
drweb8616-Jul-08 3:20
drweb8616-Jul-08 3:20 
AnswerRe: synchronization of options Pin
Mark Salsbery16-Jul-08 7:38
Mark Salsbery16-Jul-08 7:38 
GeneralRe: synchronization of options Pin
drweb8616-Jul-08 20:27
drweb8616-Jul-08 20:27 
QuestionData Synchronization and Retrieval Pin
CodingYoshi16-Jul-08 3:15
CodingYoshi16-Jul-08 3:15 
AnswerRe: Data Synchronization and Retrieval Pin
Wendelius17-Jul-08 7:40
mentorWendelius17-Jul-08 7:40 
GeneralRe: Data Synchronization and Retrieval Pin
CodingYoshi19-Jul-08 8:52
CodingYoshi19-Jul-08 8:52 
GeneralRe: Data Synchronization and Retrieval Pin
Wendelius19-Jul-08 9:06
mentorWendelius19-Jul-08 9:06 
GeneralRe: Data Synchronization and Retrieval Pin
CodingYoshi19-Jul-08 9:28
CodingYoshi19-Jul-08 9:28 
Question"Feature" in VS 2005, 2008? Pin
equalizer70016-Jul-08 2:42
equalizer70016-Jul-08 2:42 
QuestionCertification Request in .Net Pin
whaese15-Jul-08 22:10
whaese15-Jul-08 22:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.