|
Hi,
you can use Ajax control for that,
try TextBoxWatermarkExtender...
Search on google for more..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi,
I am Asking solution. not search in google, is it possible in asp.net2.0 without using ajax?
|
|
|
|
|
Hi friends.
I want to access property of one page to other page without using Previouse page directory.
Suppose I have one page named a.aspx and other page is b.aspx.
I declare one property in a.aspx and I want to access that property in b.aspx.
can anybody tell me how to do this?
Thanks in advance
please don't forget to vote on the post that helped you.
|
|
|
|
|
Could you tell why you want to implement your logic in this way ?
if you could then i think some one could provide better solution for it
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: Could you tell why you want to implement your logic in this way ?
if you could then i think some one could provide better solution for it
Let me explain.
I am working on Image Editor.You can make banner by usgin text,clipart,image etc...
I have one anchor tag to preview banner image.
I used lightbox javascript for this.
When I click on button,first I want to call ICallBack and set Html String to Static property.After that I set href="viewImage.aspx".
In view image page,I access static proerty and get htmlstring and generate Image from that string to view image.
Now my problem is that when I click on anchor tag,first ViewImage.aspx page is called instead of Icallback.
I need to call first Icallback.
But now I want to set html string in hidden field using javascript on view click and want to access this hidden control on the viewImage.aspx.
You can see here
thanks again
please don't forget to vote on the post that helped you.
|
|
|
|
|
Looks your design is not proper. If you want a common functionality to be used in many pages, create a base class where you define this functionality and inherit all your pages from this base class. Your base class should inherit from System.Web.UI.Page .
|
|
|
|
|
Hello everybody,
I want to design only one master page for different type of users. Menu items should display accoding to permission for a user type. To design, i have used menu tool. I want to connect the menu with different sitemaps, because sitemap stores xml data. I will provide all sitemap with different names menually. When someone logging in it will check the user type and set menu items accordingly.
But sitemap datasource by default connect with web.sitemap and shows menu. There is no option found to menually set other sitemaps for a menu.
How can i link with other sitemap at runtime? And how can i design this type of master page? If there is any other process, please tell me.
Please help me.........
Thank you in advance.
Dipak
|
|
|
|
|
sir plzz any one suggest the csharp coding to take printscreen on an image
|
|
|
|
|
amitbhatt wrote: any one suggest the csharp coding to take printscreen on an image
Print screen of an image ? If you know the image path, why you need print screen ?
|
|
|
|
|
Hi friend
I am opened an asp.net project from networking folder they showing security error in message box
The project is not fully trusted by the .NET runtime.This is Usually because it is either a network share or mapped to a
network share not on the local machine.if the output path is under the project location your code will not execute as
fully trusted and you may receive unexpected security exceptions
who to give permission .Net framework 1.1 Cofig wizard
this project is developing on vs 2003
Prasanna Kumar.B
|
|
|
|
|
You MUST copy the project to your localhost to be able to open it, I think
Mohamed Gouda
Egypt
|
|
|
|
|
how many types of columns we define in a grid view..
|
|
|
|
|
Hi,
you can check this link[^] to get better idea.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi i am using vs2003,
Using datagrid hyperlinkcolumn, i am passing parameter from one form o another,
I achieved this one for one parameter,
But i am strugging to pass 2 values,
This is my hyperlink column:
<asp:hyperlinkcolumn target="_self" datanavigateurlfield="fdate" datanavigateurlformatstring="frmTravelExpDetails.aspx?Fdate={0}"
DataTextField="FDatelink" HeaderText="Travel Period">
<itemstyle font-size="14pt" horizontalalign="Center" forecolor="Blue" verticalalign="Middle"></itemstyle>
</asp:hyperlinkcolumn>
i want to pass one more parameter cell in this,
Any one help me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
HMagesh wrote: frmTravelExpDetails.aspx?
Hi,
u can do as per below code.
frmTravelExpDetails.aspx?param1=test¶m2=test2
Like this.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
how to run .sql file of a oracle using vb.net..iam writting some pl/sql using begin and end statements and iam saving the file as xyz.sql now this file i have to run in oracle usig vb.net....is this possible .....
|
|
|
|
|
Try reading the file contents and pass it to ExecuteNonQuery() method.
|
|
|
|
|
Hi,
in asp.net why we are writing connection strings in web.config?.can't we store connection strings in class or in any dll.
With regards,
anu
|
|
|
|
|
It doesn't make as much sense in ASP.NET because it is compiled on demand. However, the reasoning is that configuration settings should not be compiled into an application. Also, SOX compliance and good corporate governance means a developer should not have access to production passwords, thus a network admin needs to be able to make the adjustments.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
It's your choice of keeping connection string. It can be kept anywhere. But keeping it in a configuration file like web.config, allows to edit the value without recompiling your application.
|
|
|
|
|
yes you configure a connection string programmatically in every class on your application.
of course, I'm sure you wated the conection strings to be saved in the settings, ypu could do it by adding the necessarily references.
as well you can use your dataset designer to do it.
Shimi
|
|
|
|
|
Also we can protect the connectionstring specified in connectionstrings section of web.config.
Arun J
|
|
|
|
|
I've got a web project using Atlas. The web project also uses a master page. On one page, I need an alert box to pop up roughly half of the time the UpdatePanel is refreshed, and the text of the alert box needs to be dependent on the outcome of code executed before the UpdatePanel is re-rendered.
Concretely: The page has a GridView that is filtered by radio button options, and there are some action buttons under the GridView. If the radio button selection is changed, I don't want an alert box to pop up. But if an action button under the grid is clicked, I want an alert box to pop indicating the outcome of the operation.
I have tried writing dynamic JS directly into the UpdatePanel through the use of a Literal control, and I have tried using RegisterClientScriptBlock(). But in neither case has my alert box actually come up when I click one of my action buttons.
Any ideas?
Thanks.
|
|
|
|
|
for as long as i knew, showing alert box in update panel can't be done.
i don't know if there is any funky method to achieve this goal.
when i was in the project that change application's framework 1.1 to 2.0 with asp.net AJAX, the solution to this problem is providing a label control that hidden or visible = false. if you want to show any message just show the label and assign it with some string value. you can add font-color = "red" if you want to, and font-size = "even blind man can see"
i hope this help, if you have the funky method that i'm talking about above, please tell me what your method is ...
thx fellow developer...
|
|
|
|
|
I am using hidden labels with bold red text right now. The problem is a bunch of the moron users have 800 x 600 screen res. I started getting flooded with complaints, "I never saw a confirmation message..." So my client asked me to take out all of the labels and replace them with alert boxes.
When the alert box experiment failed, I tried using JS code to force the browser to scroll back to the top of the page. That failed too. That's when I began thinking there's a problem with rendering JS in a refreshed UpdatePanel.
If it can't be done, then I'll just tell my client that that's the case, and that the next solution is to move the messages from the top of the screen to just above the buttons they click.
Thanks for your help.
|
|
|
|