Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / August 2006



Tip: Looking for answers? Try searching our database.

Problems Passing Paramaters at PageLoad

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SentientDesigns - 14 Aug 2006 17:28 GMT
Alright I have a lot going on with this website I'm working on, and I'm not
sure if my problem is with Flash Remoting or asp.net, but I'm sure I'll  find
out here.  
     I'm having a problem passing parameters into C# codebehind page using a
Flash remoting server control.  There's a main page, where a user selects a
date and time in .net DropDownLists. The selected values are then passed to a
flash movie on the page via javascript.  In the flash movie, a user then clicks
a computer name (the purpose of the site is for users to request data from
different computers on an assembly line).  When pressed, the onRelease calls
this function, where ASPXService.DataGridLoad is the service call to the page
DataGridLoad.aspx:
             
function FlashRemotingService(computerName,startDate, endDate) {
    ASPXService.DataGridLoad(ateName, sd, ed);
    getURL("DataGridLoad.aspx", "dataDisplay");
}

DataGridLoad.aspx is then loaded an iframe ("dataDisplay") on the main page,
where DataGridLoad.aspx.cs parses the variables in Flash.Params (Flash is the
server control), and then uses them to connect to a database and fill a
datagrid.  My problem is that when DataGridLoad.aspx  is loaded, the datagrid
does not display (only the paging buttons are showing).  When I press a paging
button, a postback is raised,  and then the datagrid shows up.  I was wondering
if this has to do with the fact that I'm passing my parameters at PageLoad,
because I call getURL("DataGridLoad.aspx", "dataDisplay")  AFTER
ASPXService.DataGridLoad(ateName, sd, ed).  Does it matter which function I
call first? Does anyone have a better way to get this to work ? Thanks in
advance for anyone who reads this  -Mario
EdekitRex - 16 Aug 2006 15:58 GMT
I would take the dropdownlists out of .net and into flash. It also doesn't
sound like you are really using flash remoting the right way. You shouldn't
need iframes to load data and parse it. You should just set up a connection to
your asmx?wsdl and access your c# code directly  from flash.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.