Staying with in the DotNetNuke 3.2 framework I'm attempting to
find the best, simplest solution for making callbacks/RPCs/Ajax
requests.
The biggest obsticles seem to be staying within the DotNetNuke
framework recommendations :
***
1. Default.aspx - One page, one entry point
Staying with this is great because it handles security for
me and all the DotNetNukish stuff.
***
2. Stay away from custom HTTPHandlers
Correct me if I'm wrong; to conform with DNNs "module
installation packages" the web.config file can't be altered by DNN's
"Upload & Install" method of distributing packages. I have looked in
solutions such as JSON's Jayrock and it requires me to stick an
HTTPHandler in the config file to operate. I'm not even sure if many
hosting environments will allow this!
3. Google GWT
So sleek, so simple, so fast, so not IIS.
4. Telerik Ajax suite
Keeping in mind that there are WebControls loaded
dynamically. Telerik's solution for this is to place them into a panel
so it has a control that will produce HTML (I assume so it can get an
ID from that control). I would like the controls I'm making to be
somewhat self contained & able to be reused anywhere under the
umbrella. I don't want to "need" to place them into a panel every
time.
5. Use "DotNetNuke Client API Client Callback" in the WebUtility.dll
Testing with this method; the use of dynamically loaded
control (LoadControl(cb _checkBox)) seems to mess DNN's method of
performing the callback. The GetCallbackEven tReference(Page , "blah",
"blah", "blah", ...) can't give me a Control.ID because the control
does not yet have one. The little JavaScript string is passes back
then lacks the right stuff to make the call from the client later.
Even if it had the right stuff... The control would not exist in the
page control hierarchy untill after DNN goes search for it with the
FindControl recursive function it uses to handle the callback request
coming in.
6. Not callback, not RPC, not Real-Time
Looked at the ClientAPI DNN comes with to pass the stuff
back in hidden forms on the pages themselves. This would work for me
if the user posted back to the same page every time; but it's possible
they will not sometimes. Then things that put in that "hidden forms
bucket" are lost. I considered making the Default.ascx page being
responsible for this that way that form would always be processed;
that just would not conform to the DNN standards.
In summary; I'm just looking for a balance of what would be best for
knowing what the user is clicking & typing making that information
avaliable to all modules in my DNN solution(s). I like all the DNNish
stuff that DNN does; but it just seems to be a pain when trying to
implement something like this. 3 2646
<su********@gma il.comwrote in message
news:11******** **************@ d30g2000prg.goo glegroups.com.. .
The biggest obsticles seem to be staying within the DotNetNuke
framework recommendations :
You're absolutely right! DNN *only* works so long as you *never* want to
move away (even slightly ) from the defaults...
In summary; I'm just looking for a balance of what would be best for
knowing what the user is clicking & typing making that information
avaliable to all modules in my DNN solution(s). I like all the DNNish
stuff that DNN does; but it just seems to be a pain when trying to
implement something like this.
Forget it if you want to do any serious development...
-- http://www.markrae.net
superbee,
you are making a post about an ASP.NET product that is written in VB.NET -
to the C# language newsgroup.
Try the asp.net newsgroup, which is a much more appropriate venue.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"su********@gma il.com" wrote:
Staying with in the DotNetNuke 3.2 framework I'm attempting to
find the best, simplest solution for making callbacks/RPCs/Ajax
requests.
The biggest obsticles seem to be staying within the DotNetNuke
framework recommendations :
***
1. Default.aspx - One page, one entry point
Staying with this is great because it handles security for
me and all the DotNetNukish stuff.
***
2. Stay away from custom HTTPHandlers
Correct me if I'm wrong; to conform with DNNs "module
installation packages" the web.config file can't be altered by DNN's
"Upload & Install" method of distributing packages. I have looked in
solutions such as JSON's Jayrock and it requires me to stick an
HTTPHandler in the config file to operate. I'm not even sure if many
hosting environments will allow this!
3. Google GWT
So sleek, so simple, so fast, so not IIS.
4. Telerik Ajax suite
Keeping in mind that there are WebControls loaded
dynamically. Telerik's solution for this is to place them into a panel
so it has a control that will produce HTML (I assume so it can get an
ID from that control). I would like the controls I'm making to be
somewhat self contained & able to be reused anywhere under the
umbrella. I don't want to "need" to place them into a panel every
time.
5. Use "DotNetNuke Client API Client Callback" in the WebUtility.dll
Testing with this method; the use of dynamically loaded
control (LoadControl(cb _checkBox)) seems to mess DNN's method of
performing the callback. The GetCallbackEven tReference(Page , "blah",
"blah", "blah", ...) can't give me a Control.ID because the control
does not yet have one. The little JavaScript string is passes back
then lacks the right stuff to make the call from the client later.
Even if it had the right stuff... The control would not exist in the
page control hierarchy untill after DNN goes search for it with the
FindControl recursive function it uses to handle the callback request
coming in.
6. Not callback, not RPC, not Real-Time
Looked at the ClientAPI DNN comes with to pass the stuff
back in hidden forms on the pages themselves. This would work for me
if the user posted back to the same page every time; but it's possible
they will not sometimes. Then things that put in that "hidden forms
bucket" are lost. I considered making the Default.ascx page being
responsible for this that way that form would always be processed;
that just would not conform to the DNN standards.
In summary; I'm just looking for a balance of what would be best for
knowing what the user is clicking & typing making that information
avaliable to all modules in my DNN solution(s). I like all the DNNish
stuff that DNN does; but it just seems to be a pain when trying to
implement something like this.
Wrong group for this posting; my fault. I was in the mindset of C# at
the time because I was writing my modules in that. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Henke |
last post by:
Hi
I have a aspx-page with a panel-control. On this panel control I add user
controls dynamicly with LoadControl and panel.Controls.Add(myControl).
On some of the dynamicly added user controls I have button's and handlers
for the click event.
Why doesn't the event get fired in the dynamicly added control?
Thanks!
|
by: David Rose |
last post by:
I have an existing asp.net web application which contains several user
controls. Some of these user controls contain other user controls (generic
controls) which are located in a subdirectory. Now I am creating dotnetnuke
modules from each user control and am not sure how to deal with the generic
controls.
Ideally, I want to create a project housing these controls and then
reference it from the other modules, but am not sure how to do...
|
by: Nahrin |
last post by:
I implimented ASP.NET 2.0 Client callback script (ICallbackEventHandler) to
get the result back from server without postback the page. Problem is when
seesion expires or authentication times out, callback script does not do
anything and hangs. If I click another key which requires postback after
that, I get following error:
-----------
Failed to load viewstate. The control tree into which viewstate is being
loaded must match the control...
|
by: Timbo |
last post by:
Hi all,
This is my first message here so i'll try and include all the
information that will help you help me out, if possible.
Basically I am using C# in ASP.NET 2.0 and have a Repeater control in
my aspx page with two image buttons, one for an edit command, another a
delete command. Here is a cut down code fragment.
...
|
by: Varangian |
last post by:
Hi all,
I have a question, what does the function
ClientScriptManager.RegisterForEventValidation really does? Does it
means securing your client side code? more security?
The question is how to implement this function, a step by step example
would be appreciated much
I don't want to disable the EnableEventValidation property at Page
| |
by: ThunderMusic |
last post by:
Hi,
In a page, I dynamicly generate a table in which there are ImageButtons...
When the table is first loaded, it's fine, but as soon as the table is
modified, the events are not fired until the next postback...
As an exemple, I first load the page, I click on an image which add a line
to the table (with the requiered image buttons). Because the table is all
redrawn, all the table is rebuilt on each postback (no matter if it was...
|
by: ThunderMusic |
last post by:
Hi,
I want to develop an ASP 2.0 Web control that would be just like an update
panel (to use with a tab control), so when the user makes a request, the
content of the page is loaded dynamicly without the need of a postback...
Client callback seems right in the situation except for one thing... How
can I register javascript from custom controls when using the client
callback feature? I mean, I can send all the render result through an...
|
by: =?Utf-8?B?U3JpZGhhcg==?= |
last post by:
Hi,
Is it possible to Hide/Show controls during a callback? I have a radio
button list that does the callback. When it does the callback I need to
refresh the grid to reflect the selected value in the radio button. Also I
need to hide some check boxes based on the selected value. The checkboxes and
radiobuttons are both server controls. Please let me know.
Thanks,
|
by: aladinsane |
last post by:
Hi,
I trying to build a table using the TableControl in order manage som image files. What I would like to do is to load an image combined with a linkbutton into each cell and to delete the image if you click it.
The table is created complete with links and images, but the eventhandler attached to the linkbutton is not reached when I activate the linkbutton.
I assume that it has something to do with how the page is loaded, but I cannot...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |