|
Try the below code....
Dim txt as New TextBox
Panel1.Controls.Add(txt)
|
|
|
|
|
hi
i could set pranent property in windows application, failed in asp.net sorry did not check out ealier, right method panel1.controls.add
|
|
|
|
|
hi all,
I am working on a page where i have a grid to show the data from the table.I want this grid to be refreshed every 5 mins as the data in table updates every 5 mins.
how it is possible to refresh the grid..
plz give ur suggestions on this.
Thanks in Advance,
cheers
sangeet
|
|
|
|
|
Write this tag in your aspx page ( Source View ) after title tag --
where conten is time interval in seconds. This will refresh the complete page. If you want to avoid complete post back, try to use AJAX instead.
Hope this helps.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
You can also set this from within the code behinde simply by calling:
Response.AddHeader( "refresh", "1800" );
|
|
|
|
|
I think the best thing to do is make a web part containing the grid,
then you can use Ajax to refresh the data.
Hope this helps ,
Shirish.
|
|
|
|
|
hi all,
I want to dispaly/show an aspx page which contains the related information as the tooltip when mouse is over on that particular column in the r.a.d Grid.
For example,if vehicle column is there in the r.a.d grid then if mouse
points over the data on the particular column then the particular vehicle details should be displyed for each row in Grid.Please guide me.
Hoping the reply soon...
Thanks in advance...
|
|
|
|
|
The R.A.D. people have a forum, that's the best place to ask about their control.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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, Professionals!!! help me please.
I have an error : com1\ASPNET LOG ON FAILED !!!
I'm trying to connect to the SQL Server. ASP.NET & (C#)
But error occured when I compile the program.
Please help me
|
|
|
|
|
Add the ASPNET account to the users of the database you're trying to access, and give this account the required permissions.
|
|
|
|
|
How can I the recived mails to store to my Database?
How can I recive an e-mail in ASP.NET?
Please help me. I'm very new in C# and ASP.NET
|
|
|
|
|
You can use System.Net.Mail namespace for sending emails in .Net.
For reading mails, go through this[^]
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi,
Can anyone give ideas on projects that can be done for final year. I do not want the project itself. I just want ideas. It must be some new idea on which i will build my own creativity and try things.
The project preferably must use AJAX features so that i can learn the edge of technologies while i am doing the project.
Please do help.
Any website references will also help.
Srivatsan
|
|
|
|
|
Pretty much any website can use AJAX, that's easy to add.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Today more and more young(?) pepole are moving away from e-mailing in favor of direct messeging services like ICQ and MSN Messenger.
Perhaps you could investigare why and come up with some new idéas about what coule be the natural evolution step for email?
Also I think emailing when sending to multiple receivers is a drag. The only way to keep the "broadcast conversation" going is to reply-to-all which creates A LOT of emails and finding the relevant info in an earlier reply is almost hopeless. I'm looking for a sort of merge between email, messeging and forum. You could use AJAX features to make the user interaction a happy experience (drag-drop receivers, constant pulling of new replies etc).
Finally it would be very interesting to read about your conclusion on the different messeging services out there and what you see in the future in a thread here on codeproject.
|
|
|
|
|
Hey thanks buddy. That sounds a great thing. Actually this idea is for my cousin who is doing his Masters in Computers. I am IT professional(.NET), but i will also try to come up with something that will break all this reply to all. But i think there already is something, I will investigate further and post again.
Srivatsan
|
|
|
|
|
I'm trying to post from one page to another where both pages are based on the same master page.
In page 1 I have
txtUserInfo.Text = "something." in the Page_Load.
Then in button_click
Server.Transfer("UserInfo.aspx", true);
In page 2 I have
string message = Request.Form["txtUserInfo"];
Response.Write(message);
But message is null.
When I don't use master pages this works.
I've also experimented with cross page posting but to no avail.
Am I doing something silly? This is driving me mad.
Kevin
|
|
|
|
|
Putting something in the value of a control doesn't make that value appear in the Request.Form collection. Request.Form still only contains the data that was sent from the browser in the request.
Also, if the control is in some kind of container in the page, it's client name won't be just "txtUserInfo", but will have the containers name prepended to it.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hello,
I need to pass to a function a list of pairs of values.
For each item the first value is a string and the second value is an Enum named Country.
For example, consider I need to pass 3 items:
"New York", Country.UnitedStates
"Paris", Country.France
"London", Country.England
What data type should I use create this?
And how can I access each item inside my function?
Thanks,
Miguel
|
|
|
|
|
For storing one object you can either use System.Web.UI.Pair or a custom class. The former takes two objects, so you must cast them apropriately after getting the value:
Pair p = new Pair("New York", Country.UnitedStates);
String s = (String)p.First;
Country c = (Country)p.Second;
The latter can and should be typed, so no casting is necessary. You just define the members and create properties for them.
Independent from your decision I also know two options, for storing multiple objects. One would be ArrayList, which again takes an object value, so casting is needed. It's still better, then a simple array, beacuse of the variable length.
The second option would be a generic List, but that's only for .NET 2.0. It's typed, so no need for casting. Also you do the typing yourself.
List<Pair> pairs = new List<Pair>();
pairs.Add(new Pair("New York", Country.UnitedStates));
There is a third option for storing your object, Dictionary, which also is a generic (and therefore a .NET 2.0 feature). It is based on key-value pair, where both of them are typed. But you probably don't need that.
|
|
|
|
|
Hi All,
Can any one tell me which control should I use for Date, should I use Calander control or there is a special control for that. I want to provide Search facility to my page i-e
Search FRom Date to Date.
Any Idea.
Thanks in Advance.
|
|
|
|
|
You can use, calendar control or use text boxes and apply validations ( without calendar ). Even if you want to use calendar control, a text box will be needed to display the date.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hello All,
I have strange problem in my project .
WHEN I RUN MY WEB SITE THE FOLLOWING MESSAGE APPEAR
"unterminated string constants"
LINE NUMBER : 103769389
EVERY TIME RUN MY PROJECT LINE NUMBER CHANGE TO ANOTHER NUMBER
I AM DO KNOW HOT TO SOLVE THIS PROBLEM .
PLEASE, CAN ANY ONE HELP ME?
ALA QUNAIBI
|
|
|
|
|
Please don't write in all capitals. It's used for the equivalent of shouting, and that is not your normal way of communicating, is it?
How does the message appear? Is it a Javascript error, or is it displayed on the page? Is there any more information displayed than just that?
As you don't have 103 million lines of code, this is probably due to something being interpreted as code that isn't.
---
single minded; short sighted; long gone;
|
|
|
|
|
i am sorry,
but how can i solve this problem?
ala qunaibi
ala qunaibi
|
|
|
|