473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ASP.NET with VB.NET codebehind - controls without postback.

Forgive me as a beginner in asp.net. I wanted to ask some simple but clear
questions, at least I hope they are.

Ive seen a control in asp.net that works with codebehind and the good thing
about the control it uses, is that it doesnt appear to use postback.
I've generated myown app, it works well but with postback.
I've tried it so that each button click only brings a ranged source of
binded data, but its surely not as quite a preloading all the data and then
navigating the control with-out postback.

Id like to do similar using some kind of javacontrol - but I was wondering,
if my main control with databinded to it is a standard calendar, will I see
ANY advantage in doing it this way as opposed to postback?
I know there are lots of third party controls out there for this but I see
this a bit as perhaps a/cop out? b/expensive c/as difficult as
understanding the controls myself maybe?

I have already tested and its quite easy to make some buttons server side
control, and then access the functions of the calendar to change visible
week etc, but that at least appears to take the same performance and page
refresh as the way I currently have it coded (with postback).
I am not 100% sure if it is. Maybe its just a case of testing for whether
the form is loaded and its just a matter of recoding the codebehind such as
on the form load.
I thought that maybe some technical such as referecing the control in the
codebehind might achieve this - I might be wrong.

Is there any point in trying to recode it, trying to use with javascript
control, or is it pointeless when I am binding to the standard MS calendar?
It works ok AS is with postback, but I wonder if people would be more
impressed if it navigated more smoothly without the postback.

Also, when I am using Java control and trying to interop with the
codebehind, is it easiest to do this with a non-enabled (ie hidden) field,
or is there easier and better ways to do it do you think? I am currently
thinking perhaps the hidden way is easiest for me.

Short of answering this, would otherwise anyone recommend a training course,
cd or manual that discussed non-postback in better detail?
I have literally only been into any kind of VB for less than a month (but I
have written my own app, nevertheless - though debugging may be required!).
Thanks kindly for answering this question, anyone.

Cheers
Tony

Nov 18 '05 #1
0 1086

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
5
by: Allan M. | last post by:
I have a series of select boxes that must be populated client side, because they interact with each other. The design specification calls for these boxes to be updated without having to make a...
4
by: Bas Groeneveld | last post by:
I am developing an ASP.NET application part of which consists of a data entry wizard defined by entries in a data table - ie the controls on each page of the wizard are determined by definitions in...
2
by: Dave Williamson | last post by:
When a ASPX page is created with dynamic controls based on what the user is doing the programmer must recreate the dynamic controls again on PostBack in the Page_Load so that it's events are wired...
5
by: Psych971 | last post by:
Hi, I'm wondering how I can generate a postback using javascript on a page that does not have any controls with the auto-postback property set to true. I know I can just use the submit() function...
10
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's...
9
by: Tarscher | last post by:
hi all, I have this seemingly simple problem. I have lost a lot of time on it though. When a user selects a value from a dropdownlist (static control) a dynamic control is generated. I have...
1
by: kamalkns | last post by:
hi I want to pass my value from Javascript to CodeBehind Without Using PostBack urgent Plz regards kamal
4
by: TS | last post by:
Steven, i lost this message conversation from outlook express and made a post online (see last one on this page). Please answer it as it hasn't been yet. thanks The clientID of our controls...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.