473,943 Members | 18,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing Foms does not work?Pleas help!!

al
Greeings All,

Your kine help is really appreciated.

I have this simple UserControl(Cha ngeDirection.as px) with a button on
it to trigger change of Browser direction,right to left(rtl)(there is
another button that does the opposite), and in the process of changing
directions, it displays (using Response.Redire ct) another
webform(Process Direction.aspx) to inform user the direction is being
changed. Then It should change directin of the original form before
redirection and show it to user.

The problem i'm facing is, it only redirects and stays there without
changing the direction of the orignial form before redirection

Code:

Sub btn_ServerClick (ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles btn.ServerClick

Response.Redire ct("ProcessDire ction.aspx")'th is dislays the message
to user
Response.Flush( )'completes processing of showing message to user
Response.Write( "<script>docume nt.dir=""rtl""</script>")'this should
now change

''the direction of the original form befor redirection, but it is not
working??

MTIA,
Grawsha
Nov 18 '05 #1
0 751

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

Similar topics

3
4089
by: cv | last post by:
Hello All, I have used MultipartRequest like the following to upload images. MultipartRequest multi = new MultipartRequest(request, "../webapps/coreprogram/dealerlogos", 1024 * 1024); It works fine. But When a user accesses through Internet, this does not work.
3
2106
by: sachin bond | last post by:
this code does not work.... plz help...... void breaker() {
1
3427
by: ayiiq180 | last post by:
my hook already in a dll and the handle is shared,but the hook cant work well,when i run the application,My mouse click the application's view,the hook work well,but when i click the other place(like taskbar),it cant work,why?help me. this is the hook: // HookDll.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include "HookDll.h"
0
1094
by: al | last post by:
Greeings All, Your kine help is really appreciated. I have this simple UserControl(ChangeDirection.aspx) with a button on it to trigger change of Browser direction,right to left(rtl)(there is another button that does the opposite), and in the process of changing directions, it displays (using Response.Redirect) another webform(ProcessDirection.aspx) to inform user the direction is being changed. Then It should change directin of the...
4
1396
by: Martin Fletcher | last post by:
I cant get the Concat function to work, please help. Here's some of my code. Module modTCP Public TCP_RECEIVED_DATA As String Private WithEvents TCP_SERVER As New WinSockSVR Private Sub TCP_SERVER_DataArrival(ByVal strData As String) Handles TCP_SERVER.DataArrival Dim strNEW_STRING As String
2
5335
by: casmang | last post by:
I am having the problem where when I change the font of a TreeNode in a TreeView to a bold property, the bounds or rectangle that draws the node does not expand so that the text ends up being cut off as shown in the attached image. I have read all sorts of suggestions about making all the font bold first, then changing it back to regular which seems to work, but is sort of a crappy solution. My question: Is there any way to just override...
3
5066
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
0
1733
by: dolphinearth | last post by:
Hi all. I hope some of the smart fellow programmers can help me, please. The problem is I use Crystal Reports that was shipped out with VS 2005 .Net, and for some strange unknown reason, the reports prints blank pages. I stepped through data, the data gets filled correctly, the Crystal dlls are there, otherwise the application would have complained the dlls weren't there, and wouldn't show the report. But, even after trying mutiple times,...
3
1660
by: SM | last post by:
I'm using simpleXML in PHP and i Can't get this small piece of code to work? Need help I have an XML that looks like this: <?xml version="1.0" encoding="utf-8"?> <VIDEO> <item> <title>Letters</title> <videos> <title>a</title>
19
1854
by: fx5900 | last post by:
Hi, i am trying to convert an .osm (openstreetmap) file into gml format and finally to shapefile given this wiki info http://wiki.openstreetmap.org/index.php/GML. I'm using windows and when i entered the following commands osm2gml.py < map_01_data.osm > map_01_data.gml on my dos prompt i get a number of errors, some of which are bellow: Traceback <most recent call last>:
0
11133
jinu1996
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...
1
11306
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
8233
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7395
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();...
0
6090
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...
0
6312
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4914
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
2
4515
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3517
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.