|
Hi Hassan,
If I have not misunderstood your problem, then you can achieve it by using following javascript code which should be attached with the client side onclick event of the linkbutton :
window.opener.document.getElementById("ctl00_ContentPlaceHolder1_txtBox").value = val;
I really hope that it will sove your issue.
Regards
Saanj
Either you love IT or leave IT...
|
|
|
|
|
I know there are many basic sample designs in DataGridView that I can choose.
And I also know I can modify the form of it in property. (something like font size, color of cells)
But I would like to make a design of DataGridView like this.
--> [^]">
I mean I want to make outlines without vertical lines which are for sections.
Are there any samples related to DataGridView Design??
Thank you...
|
|
|
|
|
lsh486love wrote: I mean I want to make outlines without vertical lines which are for sections.
Are there any samples related to DataGridView Design??
I would suggest you to go back to basics and buy a good HTML/CSS book.
Anyways, what you need to do is to make the right and left border of cell transparent.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hello ... I have a really, really simple scenario which i can't accomplish.
1) I have a WebControl called "BaseControl". In that WebControl i just place a panel (100px x 100px) and turn it's backcolor to green.
2) I create a second control which inherits the BaseControl. However when i place that control the green panel is not displayed.
I assume that the i can't inherit the html ? Is there a way i can do this ?
Is there a way i can achieve that simple inheritance ... or a workaround ?
|
|
|
|
|
You can inherit code, but not markup. If you want to have a hierarchical control model, you would need to design your base controls to use either manually rendered html with helper methods that inject html rendered from child controls, or use control compositing and helper methods that allow child controls to inject their own content.
|
|
|
|
|
Hi,
My requirement is to develop a web application where sales(plan vs actual) is shown in a map.
I dont have any idea about doing this. Please suggest me how can we do this?
I am using VS 2005. Do we need any third party tools to do this?
A map will be there, on which all my offices at different locations will be shown and when a particular office is clicked, sales details should be shown.
|
|
|
|
|
Take a look at google maps. They provide many APIs which you can use.
|
|
|
|
|
You should also look at Microsoft Virtual Earth API's for .NET. You get a complete .NET framework for integrating Microsoft Live maps without all the hassle of wrapping Google's API's for use with .NET first.
|
|
|
|
|
In crystal report it works fine with parameters. How can I link my report to ASP.NET
|
|
|
|
|
|
I am trying to upload files in my application using ASP.NET.
I need to restrict the file size to 11 MB. But i am unable to restrict the size
|
|
|
|
|
|
Hello everyone
ASP.net uses Business Object Crystal Report which will give you a PDF file output when you click "print"...
how can i use/invoke/run "Adobe PDF Reader" inside the web browser without installing it in the client station?
thank you in advance...
xxx
|
|
|
|
|
hello,
when i put a hidden field in a form and run it i look at the page source and see the following :
<input type="hidden" name="ctl00$ContentPlaceHolder1$UserName" id="ctl00_ContentPlaceHolder1_UserName" value="sasa" />
<input type="hidden" name="ctl00$ContentPlaceHolder1$PassWord" id="ctl00_ContentPlaceHolder1_PassWord" value="tttyyy" />
.
i want the names to be UserName and PassWord and not with
the 'ctl00$ContentPlaceHolder1$' before them
how do i change it ?
those fields will not be posted back to the page but will go to
another url which is not related to my project. i added the 'postbackurl=' to the button click
btw , i dont use simple html hidden tags because their values are set from a database
tnx,
avi
modified on Saturday, May 16, 2009 4:18 AM
|
|
|
|
|
you can just user html input ,not asp.net input ,if you change the name the server will can not find this input.
|
|
|
|
|
yes , but i need to add dynamic values to those fields which are read from a database.
if i use simple html tags i cant change their values easily can i ?
|
|
|
|
|
Hi all,
I have created a class library for my application. I have some typed datasets in this class library. While creating the datasets , VS asked me whether to save the connection string in the config file and it created a seperate app.config file in the class library. What i need is that while calling the class library, i should be able to pass in the connection parameters from my applications web.config file and it should not create ant app.config file.
How can i do this??? Any help would be kindly apperciated...
When you fail to plan, you are planning to fail.
|
|
|
|
|
Add reference System.Configuration namespace to your class libarary.
Use ConfigurationManager.ConnectionStrings["YourConnectionStringNameFromWeb.Config"] in your in the class library.
Therefore when this class libarary is called in the asp.net web application, it automatically get the connection string from web.config.
|
|
|
|
|
How r u ladies & gentelmen ?
The problem is:
I have asp page (P1.asp) and inside it I call a function (.draw) in another asp page (P2.asp)which hold all data about the graph I wanted to draw it in P1.asp inside BUT after compilation P1.asp, the graph (the result of P2.asp) will show first then P1.asp will show.
I need to show the result of P2.asp after compilation in the same in a specific area I means not in the top of the page then loads P1.asp
I need--->P1.asp to load everything: same contents of P1.asp contain and here display the graph or the result of P2.asp after clicking buttonsthe wrong---> load the graph of P2.asp here in the top of page then load P1.asp down of the graph.
I appreciates ur effort and thank you all in advanced.
Diya Qudaih.
|
|
|
|
|
There is no way to do that exept one way that:
use window.open("ur asp page?ur parameters all what u want","name","properties")
thnx all.
|
|
|
|
|
Hi,
In my website I hv written JavaScript in c#.net code behind page using this.RegisterStratupScript in which i want to assign one variable's value to session .
Please, give me solution .
Thank you.
|
|
|
|
|
Do you know Session is maintained at Server and javascript executes at client. So why in the world, you want to assign a variable to session through JS.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i want to design file uploader button
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Yeah, go ahead
|
|
|
|
|
Hi all, I have used some html checkboxes in one webpage. Using client side script I am putting some values in the Value property of those checkboxes.
But I am not being able to recognize those values from my server side code. I have tried the following techniques, but invain.
string str=CheckBox1.Attributes["value"].ToString();
string str=Checkbox1.Value;
But none worked.Can any one help me out???
Thanks and Regards
ARINDAM
|
|
|
|