Resources for the DotNetNuke Community
hello,
im pretty new to this dnn thing. i have started it only a week ago, i have only learnt how to create modules in it and insert update delete data using the stored procedures (using the SQL Server 2000). now i have to use an iframe in an ascx page of a module and load an aspx file in it. the problem is, i have tried evrything to use as the src in the iframe, bu tnothing seems to work.sometimes, the iframe is displayed empty and sometimes it shows another iframe inside it and sometimes it gives error. please let me know on how to do this thing. i have to develop the follwoing type of module. can u let me know how much time this would take using dnn approximately.
Connect to a SQL datasource and execute a stored procedure, display the data. Should be able to pass any of the session variable value as the parameter to the stored procedure. For example if the datacommand is like 'sp_GetData {userName}' the module should replace {username} with
Session("UserNae") and then call the stored precedure sp_GetData. For testing you can create a test stored procedure that will resturn you some test records from the pubs or northwind database. The datagrid should be in an Iframe so the whole page is not refreshed on post back just the grid in the iframe.
The datagrid should be generic enough to
- specify how may records to diaply per page
- Specify the width and height of the datagrid
- Have a record selector
- Allow to control the layout and style using the module.css
- Allow the Datagrid to auto-refresh (requery the data) based on a parameter speified in the module options page.
i have done that already..
i give the path
http://localhost/docs/gridform.aspx
but i get the error ...that this path is inaccessible or doesnot exist
docs is a virtual directory and i have full control over it i have also checked the windows permissions and i m the administrator of the system
what would be causing the problem?
Can you view that page from a usual browser? I mean from outside dnn?
actually i can view this page outside dnn
since im using s,net 2005 i get an automatically created devlopment server by vs.net 2005, and when i run the website i get the following url that runs the page
http://localhost:2431/TestingGridForm/gridform.aspx
but when i use this path in iframe nothing is displayed in the iframe rather i get an error that says that could not find the page, the error i get is :
Please try the following:
i dont know how can i solve this problem :(
i have even tried to do that
i created a virtual directory and created a project within that directory, then i created the page e.g. dgmod.aspx and the url with which i could run it was http://localhost/docs/dgmod.aspx. the file was running like this but when i tries to pass the url to the builtin iframe module of dnn, it said please enter a valid url :S \
the only time when this url field does not give error is when i use only the filename iu.e. dgmod.aspx in the url field. and that makes it unable to access it since it doesnt know its actual path ... what should i do now?