|
Could somebody please advise how to add a LoginStatus control to page validation?
thanks
|
|
|
|
|
Hi Friends,Im working in C#.How can I apply CSS to my web pages...
Hi,Im Razana
|
|
|
|
|
C#, of course, has nothing to do with CSS. You apply CSS the same as you would if you were using PHP, asp, or plain HTML. C# has nothing to do with it, except that a server control has a CssClass attribute instead of the usual one.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Graus!,How are you?,I hope you are doing good...can you give me a sample for applying it in C#,Graus
Hi,Im Razana
|
|
|
|
|
Hi.
Take it CSS
Best regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hi all
I have 5 databases.I want to connect them at runtime as the user's choice.
is there any wayto edit web.config file at runtime to change connectionstring.it is very urgent
plz reply me.
Raghvendra Kumar Roy
|
|
|
|
|
Raghvendra Kumar Roy wrote: it is very urgent
Of course it is....
You can add as many strings to your app config as you'd like. It would make more sense to store all the strings in your app config and add the functionality to select between them.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
What i can do if i have to create anew connection string
Raghvendra Kumar Roy
|
|
|
|
|
Try putting them all in an XML file, and then you can access it from your app. I didn't realise your web app would have a constantly changing list of connections, that seems unusual.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You shouldn't have your system edit the web.config at runtime. Changing the web.config will cause the app domain to recycle - I imagine this could potentially cause you a few problems...
|
|
|
|
|
Raghvendra Kumar Roy wrote: edit web.config file at runtime
High risk. Application restarts when web.config is updated. Not recommended.
|
|
|
|
|
how to break text in textbox on shift enter in java script or asp.net
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
what do you want to do ? Accept multiline ? That's a property on the textbox control.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
no yaar i know about multi line . i want break line on Shift Enter key in multiline textbox
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
I still don't get it. What does 'break line' mean and how does it differ from pressing enter ? You want to insert a break tag in the text ? Why not do that on the server end ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Not only you , I think no one understands what he needs.
|
|
|
|
|
my dear when i press key(Shift Enter) then cursor go to next line in text box i i want write this type in multi line text box
asdfdfggggggggg
gggggggggg
gggggggg
gggg
gg
gg
gg|
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Why shift enter? Just plain old enter should do it...?
|
|
|
|
|
because i sending msg on enter key press
are u know on enter key press?????
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Hard to beat a standard interface isn't it...
|
|
|
|
|
Try attachEvent function in javascript. You can attach events with key combinations also
|
|
|
|
|
<b>Guys,
I have an updatepanel in ajax with a textbox and an imagebutton. </b>
<asp:UpdatePanel ID="pnlMedTextBox" runat="server" UpdateMode="Conditional"><ContentTemplate>
<asp:TextBox ID ="txbMedication" runat="server" CssClass="floatleft_red" Style="WIDTH:135" ></asp:TextBox>
<asp:ImageButton ID="btnAdd" runat="server" ImageUrl="images/add.gif" OnClick="btnAdd_Click" />
</ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnclearMed" EventName="Click" /></Triggers></asp:UpdatePanel>
<b>The cursor must be focused on the textbox at page startup and on clicking btnAdd it must disappear. So I have used:</b>
string TextBoxFocus;
TextBoxFocus = "<script language=javascript>document.getElementById('txbMedication').focus();</script>";
Page.RegisterStartupScript("setfocus", TextBoxFocus);
<b>It works fine at page_load, but on clicking btnAdd the cursor is still there and positioned not even at the start, but at the center of the Textbox. Plz help</b>
hi
|
|
|
|
|
|
Hi All
How are you. I have a problem. I want to implement “Quota Management” in my application. Quota Management in the sense, Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit. I want to do the same. Do you have any idea about that. Let me give you a brief idea what I am trying to do. I am creating a new folder for every new user registered. So if I can give a maximum size limit to that folder and at the time of login if I can check the total used space and the maximum size of the folder then the problem may be over. I don’t know if it will work or not. But I guess it will work. Can anybody help me in this. Please please pleaseeee its very urgent.
Sagar Pattnayak
Software Developer
Sun-Dew Solutions
+91-9831169962
|
|
|
|