|
Hi,
I need to included another aspx page in a panel on my 'parent' page. If the user clicks a button, it shows the other page inside a panel. The other aspx page is on another server. I can tricker the panel, but cant get the other page to show inside this panel. I used an IFRAME, but was told not to use that. How can I do this?
|
|
|
|
|
hi
I beleive the only way is to use an iframe
signature
|
|
|
|
|
|
hi
this is a broad topic which canot be answered here, do a search for localization on codeproject or google.com or MSDN.
signature
|
|
|
|
|
make an resx file for each language
in the name filed u fill it with the word that refers ur controls
"myEmployee" for example
and in the value field u fill the word that u want to appear "Employee" for example
In a seperate module u do the following:
import the system.resources
and u define a variable for each language
Public rm As ResourceManager
define a language variable and durection variable
Public cur_lang As String
Public cur_dir As String = "ltr"
Public Sub lang1()
If cur_lang = "English" Then
rm = New ResourceManager("projectName.English", System.Reflection.Assembly.GetExecutingAssembly())
Else
rm = New ResourceManager("projectName.otherLanguage", System.Reflection.Assembly.GetExecutingAssembly())
End If
and lang2 sub for the other language
in the aspx.vb all u need is the following
u specify the language in the form load
lblEmployee.Text = rm.GetString("myEmployee")
hope this would help
Best Regards
3ala2
|
|
|
|
|
i have a textbox need to input amount only, means only can accept digit or double and dot(.) for example, 12 or 12.32 , is it use regular expression validator or rang validator , and how to write the validation expression ?
Best regards,
Chee ken
|
|
|
|
|
hi
if you want the user to only enter numerals then you will habe to write your own control derving from textbox which only accepts number and the letters you want and will probably need clientside javascript code to prevent entering of other letters. there are free controls you can use. goto http://www.eworldui.net/[^] and you will find a numericbox cotrol that u can use, hope this helps
signature
|
|
|
|
|
If you only want to validate the input eg "12", "12.32", "128.25", etc, etc...
You can use the Range validator, and set the Type to "Currency" and the operator to "DataTypeCheck"
<asp:CompareValidator ID="cvBudget" runat="server" ControlToValidate="txtBudget"
ErrorMessage="You need to enter a valid Currency value" Operator="DataTypeCheck" Type="Currency" ValidationGroup="grUpdate" />
|
|
|
|
|
hi everyone, I would like to know if it's possible to group digits as we type them into a textbox, that is as we type them, are there present solutions or free controls to use.
Thanks in advance for your help
|
|
|
|
|
Hi all,
i am currently working on security component. I develop the component as a http module and the same can be used by the developers by just adding the hhttp module to their application. But, the problem is what if i want the same to be worked with Windows applications. Is there any way the windows applications can make use of the http modules and http handlers.
ThanX in advance
Ramesh.Kanjinghat
|
|
|
|
|
Hi all
i have some code:
WebRequest request = WebRequest.Create(strQuery);
WebResponse reponse = request.GetResponse();
Stream objstream = reponse.GetResponseStream();
System.Drawing.Image img = System.Drawing.Image.FromStream(objstream);
img.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
but i dont want Response.OutputStream because it delete all control in my page
I want give img into System.Web.UI.WebControls.Image
Some body help me
|
|
|
|
|
<img src=myimagepage.aspx>
Place the code you have in myimagepage. There are other ways but this is a typical usage.
only two letters away from being an asset
|
|
|
|
|
|
Posting the same message again will not get you any better responses.
only two letters away from being an asset
|
|
|
|
|
I consider this extreme cut-and-paste abuse.
I consider this extreme cut-and-paste abuse.
I consider this extreme cut-and-paste abuse.
You need to set:
<authentication mode="Windows" />
to
<authentication mode="None" />
|
|
|
|
|
thank for help, but it still does not effect huhuhu
|
|
|
|
|
Did you change
<customErrors mode="RemoteOnly"/>
to
<customErrors mode="Off"/>
also?
You need to see the detailed error.
|
|
|
|
|
|
lol sorry, this first time i do it , it not in bin folder, but now after many times correct it just in bin folder, let me correct it, sorry so much
|
|
|
|
|
sorry all i have just found my failt this is my site
http://www.bambooproductall.com/webform1.aspx
|
|
|
|
|
Looks like its working now!
|
|
|
|
|
Hello,
I am creating a web site with Nested Master pages.
I also need to have a class where the culture is set. When the culture is changed by the user the page refreshes and the change takes effect.
I saw this approach, I think, on a MSDN web site or blog:
Config.vb > Class where culture is set from profile value
_Base.master > Parent master page
( _Navigation > Child master page)
Default.aspx.vb > Page
I have this working without the child master page _Navigation. I can't make this work with the child master page.
Could someone help me out with this?
This is the code for my 3 working pages (Config.vb, _Base.master and Defaul.aspx.vb)
----- Config.vb -----
1 Public Class Config
2 Inherits Page
3
4 Sub Page_PreInit(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.PreInit
5 Response.Write("Config")
6 Page.Theme = CType(Context.Profile, ProfileCommon).Config.Theme
7 End Sub
8
9 Protected Overrides Sub InitializeCulture()
10 MyBase.InitializeCulture()
11 Dim language As String = CType(Context.Profile, ProfileCommon).Config.Language
12 If (language IsNot Nothing) AndAlso (language <> "Auto") Then
13 MyBase.UICulture = language
14 Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(language)
15 End If
16 End Sub
17
18 End Class
----- Base.master.vb -----
1 Partial Class _Base
2 Inherits System.Web.UI.MasterPage
3
4 Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Init
5 Response.Write("Base.master")
6 End Sub
7
8 End Class
9
10
----- Default.aspx.vb -----
1 Partial Class _Default
2 Inherits Config
3
4 Protected Overloads Sub Page_PreInit(ByVal sender As Object, ByVal e As EventArgs) Handles Me.PreInit
5 Me.MasterPageFile = "~/_Base.master"
6 End Sub
7
8 Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Init
9 Response.Write("Default.aspx")
10 End Sub
11
12 End Class
Could someone help me out in integrating a Child Master page between _Base.master and Default.aspx?
Thanks,
Miguel
|
|
|
|
|
I have data coming from multiple tables and I need some of the data to go into a 3rd column. So far all I can get is the name in the first column and the data in the second.
I am not sure how I can create the 3rd column and then populate it with data.
Any help would be much appriciated.
Thanks,
Jim
|
|
|
|
|
Combine your data into one DataSource and bind it to the control would probably be the simplest way.
only two letters away from being an asset
|
|
|
|
|
Hey
I have a web application built in VS2003 using C# and asp.net.
I am having trouble linking to other pages, for example I have (sorry about the formating:
PostEvent"
Which is the the correct link (absolute). When i try to access this from login.aspx (which is a direcory down but this shouldnt matter due to the absolute link) i get an error page.
The resource cannot be found.
Requested Url: /RSAInter/LoginDemo/Organisors/Login.aspx
Can any one help me as to why it is looking for login.aspx
Cheers
Dan
|
|
|
|