Click here to Skip to main content
15,917,641 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralShow ImageButton is Disabled Pin
Brady Kelly11-Mar-08 23:18
Brady Kelly11-Mar-08 23:18 
GeneralRe: Show ImageButton is Disabled Pin
eyeseetee11-Mar-08 23:24
eyeseetee11-Mar-08 23:24 
GeneralRe: Show ImageButton is Disabled Pin
Brady Kelly11-Mar-08 23:42
Brady Kelly11-Mar-08 23:42 
GeneralRe: Show ImageButton is Disabled Pin
eyeseetee11-Mar-08 23:44
eyeseetee11-Mar-08 23:44 
GeneralRe: Show ImageButton is Disabled Pin
Brady Kelly12-Mar-08 0:13
Brady Kelly12-Mar-08 0:13 
GeneralProblem with the Dropdownlist Pin
meeram39511-Mar-08 23:14
meeram39511-Mar-08 23:14 
GeneralRe: Problem with the Dropdownlist Pin
Chetan Patel11-Mar-08 23:19
Chetan Patel11-Mar-08 23:19 
GeneralRe: Problem with the Dropdownlist Pin
meeram39512-Mar-08 0:28
meeram39512-Mar-08 0:28 
Hi,

I'm filling the dropdown from DB. Please find below the code:

function AnalystKeyChange()
{
var tlList = document.getElementById("ddldataset");
//Getting the selected country from country combo box.
var SelectedAnalyst =tlList.value;
// URL to get states for a given country
var requestUrl = AjaxServerPageName + "?Selectedtxt=" + SelectedAnalyst;
CreateXmlHttp();
// If browser supports XMLHTTPRequest object
if(XmlHttp)
{
//Setting the event handler for the response
XmlHttp.onreadystatechange = HandleResponse3;
//Initializes the request object with GET (METHOD of posting),
//Request URL and sets the request as asynchronous.
XmlHttp.open("GET", requestUrl, true);
//Sends the request to server
XmlHttp.send(null);
}
}

//Called when response comes back from server
function HandleResponse3()
{
// To make sure receiving response data from server is completed
if(XmlHttp.readyState == 4)
{
// To make sure valid response is received from the server, 200 means response received is OK
if(XmlHttp.status == 200)
{
analystListItems(XmlHttp.responseXML.documentElement);
}
else
{
alert("There was a problem retrieving data from the server." );
}
}
}

function analystListItems(alNode)
{
var analystList = document.getElementById("ddlAnalystReportTo");
//Clears the state combo box contents.
for (var count = analystList.options.length-1; count >-1; count--)
{
analystList.options[count] = null;
}

var analystNodes = alNode.getElementsByTagName('analyst');
var textValue;
var optionItem;
//Add new states list to the state combo box.
for (var count = 0; count < analystNodes.length; count++)
{
textValue = GetInnerText(analystNodes[count]);
optionItem = new Option( textValue, textValue, false, false);
analystList.options[analystList.length] = optionItem;
}
}

Please let me if I have to proivde any more information. Thanks for all your help.
Smile | :)

Meeram395

Questionhow to add button in footer of datagrid whichis visible on last paging? Pin
rahul.net1111-Mar-08 23:02
rahul.net1111-Mar-08 23:02 
GeneralRe: how to add button in footer of datagrid whichis visible on last paging? Pin
eyeseetee11-Mar-08 23:06
eyeseetee11-Mar-08 23:06 
GeneralRe: how to add button in footer of datagrid whichis visible on last paging? Pin
rahul.net1111-Mar-08 23:11
rahul.net1111-Mar-08 23:11 
GeneralRe: how to add button in footer of datagrid whichis visible on last paging? Pin
eyeseetee11-Mar-08 23:44
eyeseetee11-Mar-08 23:44 
GeneralRe: how to add button in footer of datagrid whichis visible on last paging? Pin
rahul.net1111-Mar-08 23:49
rahul.net1111-Mar-08 23:49 
QuestionERROR : URI formats are not supported Pin
Trishul Tandel11-Mar-08 22:51
Trishul Tandel11-Mar-08 22:51 
GeneralRe: ERROR : URI formats are not supported Pin
Chetan Patel11-Mar-08 23:15
Chetan Patel11-Mar-08 23:15 
GeneralRe: ERROR : URI formats are not supported Pin
Trishul Tandel11-Mar-08 23:17
Trishul Tandel11-Mar-08 23:17 
GeneralCast from type 'DBNull' to type 'String' is not valid [modified] Pin
obarahmeh11-Mar-08 22:42
obarahmeh11-Mar-08 22:42 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
eyeseetee11-Mar-08 22:44
eyeseetee11-Mar-08 22:44 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
danasegaranea11-Mar-08 23:00
danasegaranea11-Mar-08 23:00 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
obarahmeh12-Mar-08 3:49
obarahmeh12-Mar-08 3:49 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
obarahmeh12-Mar-08 3:54
obarahmeh12-Mar-08 3:54 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
eyeseetee12-Mar-08 4:13
eyeseetee12-Mar-08 4:13 
GeneralRe: Cast from type 'DBNull' to type 'String' is not valid Pin
obarahmeh12-Mar-08 4:31
obarahmeh12-Mar-08 4:31 
QuestionList box flickers on page refresh Pin
subhappradha11-Mar-08 22:37
subhappradha11-Mar-08 22:37 
GeneralRe: List box flickers on page refresh Pin
eyeseetee11-Mar-08 22:47
eyeseetee11-Mar-08 22:47 

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.