|
can you please explain on wot stage you creating the controls.
and how you getting data to know number of controls you want to create.
thanks
Nav.
|
|
|
|
|
I read the number of columns from the database store it in the Session and then run a loop in the HTML to create that many
This way my database has complete dynamics I can add and delete records as well as fields i.e. columns.
If only they could see what I see in my mind
|
|
|
|
|
Collect you data from database in dataset and recreate textbox and fill that textbox with data while traversing the record from dataset one by one.
Murtaza Tahir Ali
at 9:22 Thursday 8th June, 2006
|
|
|
|
|
Surely you could use something like a repeater control for this work...?
It should take away most of the pain.
|
|
|
|
|
Why dont you try to store the data in a dataset and assign it to Datasource/Datamember of the texbox.
|
|
|
|
|
<asp:HyperLink ID="details" Runat="server" Target="_blank" NavigateUrl='webform3.aspx?id =<%#DataBinder.Eval(Container.dataItem,"newstitle")%>'>details</asp:HyperLink>
I am not getting the value from the newstitle tag
When i put the mouse on the hyperlink It show the message in the status bar
'webform3.aspx?id =<%#DataBinder.Eval(Container.dataItem,"newstitle")%>
But i want id = string
string = data in the database.
-- modified at 7:50 Thursday 8th June, 2006
|
|
|
|
|
lol - look at your quotes...
You have a single opening quote on the navigate URL attrib, but you need to close it and add a + symbol if you want the rest to appear as evaluated - you're just showing it as a literal string. Put the DataDinder bit outside the quotes
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
When I try to load subreport i get this error "The Report Application Server failed ".
Where could be problem??
-- modified at 7:27 Thursday 8th June, 2006
|
|
|
|
|
i want to do just like this site is doing
when we write message and clicks on preview button pop up window appears without refereshing the parent window please tell me how u have done this addressing to codeproject site developer .;) please tell me.
if other peple also knows about this.
Murtaza Tahir Ali Dhari
|
|
|
|
|
create a function in javascript and call that function from HTML Button onClick Event
<script type="text/javascript" language="javascript"><br />
function popup()<br />
{<br />
window.open('GridView.aspx',null,"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");<br />
<br />
}<br />
</script><br />
<input id="Button1" style="z-index: 101; left: 24px; position: absolute; top: 40px"<br />
type="button" value="popup" on click="popup();" />
Nav.
|
|
|
|
|
i am creating pop up window when user clicks on button but it is refreshig the page while openining pop up window .i want to create pop up window without post back .
i know about callback feature of asp.net 2.0 but how would i use it to open pop up window.
any one can tell me.
i am creatinf pop up window using java script.
Here is The Code
string popupScript = "" +
" var win = window.open('Default2.aspx', 'Pop Up', " +
"'width=304, height=140, menubar=no, resizable=no,status=no,toolbar=no,location=no')" +
"";
Page.RegisterStartupScript("Pop up", popupScript);
|
|
|
|
|
Hi,
I am trying to figure out a way to provide a virtual path to work in the following way:
1. Request is made to server, e.g http://www.myserver.com/clientname/
2. 'clientname' is stored as the profile name
3. All subsequent requests are returned from the http root (So http://www.myserver.com/clientname/Default.aspx would actually be http://www.myserver.com/Default.aspx)
4. Content is personalised according to the 'clientname' stored.
Now I have the personalisation working and I have a VirtualPathProvider returning a simple text message if the path is virtual but I cannot figure out how to separate the 'clientname' out to store and how to get the 'real' path of the requested file (Paths could also have sub-directories)
Any help greatly appreciated.
Thanks!
|
|
|
|
|
Sir,
I have 20 records in the database and two controls in the datalist namely 1 labels , 1 linkbutton , .When the form executes the datalist shows 20 records so each record will show 2 things as according to two control in the datalist.Now the problem is when i click on the linkbutton of the particular record I am unable to find that record's label control text.I mean at the click event i am taking a string type variable in which i want to store that record's label control text.
Thanks and Regards
amnneet Brar
-- modified at 6:30 Thursday 8th June, 2006
|
|
|
|
|
Hi
i am developing asp.net web application in which client is writing a text file on his machine(because we have use javascript for writing file) . Now i want to get the same file uploaded to server how to go for it . I am not getting any way .PLease help me
|
|
|
|
|
|
you can use file upload control to upload file .prompt client for upload file .
if you are taking input than take it directly in textbox or textarea controls.
Murtaza Tahir Ali Dhari
|
|
|
|
|
The Button, Link Button, and Image Button controls all cause _____________ events.
S.Sandeepa
|
|
|
|
|
Give answers in the same post otherwise it will be of no use.
Best Regards,
Apurva Kaushal
|
|
|
|
|
For all you guys, who dont know how to use this forum..
Pls Read
|
|
|
|
|
|
can u give one example using it
S.Sandeepa
|
|
|
|
|
example of what? try to use same post for your replies.
Best Regards,
Apurva Kaushal
-- modified at 5:41 Thursday 8th June, 2006
|
|
|
|
|
lists three types of server control events.
P.PaVaN KuMaR
|
|
|
|
|
hi dears,
how can i get the sample papers of microsoft 305 exam and which is the best site to refer this .
|
|
|
|
|
if i dont want select any item from dropdownlist what should i do?????????
|
|
|
|