|
This is a fair approach and I don't think about any performance issues.
|
|
|
|
|
Hi
I m new biew to Asp.net(Vb)
I wanna use Adrotator in my page which shows the images from database
(Means the url of image is stored in database and images is saved in a folder)
For it i simply retrived all image url in dataset and bind it to the adrotator but it not worked properly
My code is:
Dim sql As String
sql = "select ImageURL,NavigateURL,AlternateText,Keyword from image"
ad = New SqlDataAdapter(Sql, cnn)
ad.SelectCommand.CommandType = CommandType.Text
Me.ds = New DataSet
Me.ad.Fill(ds)
Me.cnn.Close()
Me.AdRotator1.DataSource = Me.ds.Tables(0)
Me.AdRotator1.DataBind()
and the image url is like this : -
~/Add_Image/middle.gif
It shows dynamic alternatetext each time when i refresh the page but don't show image
Show me the currect way to do it Plz
Thanks with anticipation
|
|
|
|
|
I have a textbox, I want that customer can only read its text but problem arises when text exceeds from the width of the textbox. In normal case we can read all the text by using arrow keys. How can I read text when textbox is read only?
Regards, Qaiser Nadeem
|
|
|
|
|
If you are not allowing customer to edit the field, why textbox is used ? Try to use Label/Literal instead.
|
|
|
|
|
Text area may be another option
--Akki
|
|
|
|
|
A web application is developed using .Net framework 1.1 , Visual studio 2003, on windows 2003 server. Now application is exported to new machine with both the versions of .Net framework installed on it , i.e 1.1 and 2 ... The machine carries both the development environments, VS 2003 and VS 2005. The error resulting in opening the application is stated as " Web server is not running Asp.net version 1.1. you will be unable to run asp.net web applications or services" .
With the help of MSDN I have gone through almost all the solutions , includiong reinstalling the correct version of asp.net 1.1.4322, setting right version of asp.net in default web site settings, allowing asp.net 1.1 and asp.net 2 versions in web server extension settings .. resulting not a solution .. can anyone help in that .
Regards,
Madni
Madni
|
|
|
|
|
Again are u gettting the same error?
Sachin Mukhija
|
|
|
|
|
yes ... still i am getting the same error .. also i created an aspx file namely "get_aspx_ver.aspx" as directed in msdn , copied it on wwwroot folder , and adding "location" value in the web.config file .... No solution found yet .. :-S
Madni
|
|
|
|
|
Hi ,
i am using asp.net2.0 , C#
I have four row of table(in aspx form). I display only one row based on condition out of four and make other rows invisible but it still consume the space Is it posible that to TD OR TR wherein control are invisible row do not consume the space . i am not generating controls dynamically as it is affecting the alingment of control .
Please guide me.
Thank you
regards
imran khan
|
|
|
|
|
Did you try applying a style like
display:none ?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i tried display : none but it remove the control that are visible.
regards
imran khan
|
|
|
|
|
Hi
I can understand what u wanna say.......
For it take a control in the td(column) of table and set the position of that control from absolute to static and when u set the visible property=False this control will be invisible and will not occupy the space.
Hope it helps if not then fell free and tell me your propblem ok...
|
|
|
|
|
<br />
<TD style="WIDTH: 58px; BORDER-BOTTOM: gray 1px solid; position :static ; " align=right><br />
<asp:Label id="Lblrsm" runat="server" Text="RSM" Font-Size="9pt" SkinID="LABEL_Navy_Simple"></asp:Label><br />
</TD><br />
<TD style="BORDER-BOTTOM: gray 1px solid; TEXT-ALIGN: left; position :static ; width: 180px;"><br />
<asp:DropDownList id="DDLrsm" runat="server" Width="170px" Font-Bold="False" Font-Size="9pt" Font-Names="Arial" SkinID="DROPDOWNLIST_LONG" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged ="DDLrsm_SelectedIndexChanged" ><br />
</asp:DropDownList><br />
</TD><br />
<TD style="WIDTH: 58px; BORDER-BOTTOM: gray 1px solid; position :static ; " align=right><br />
<asp:Label id="Lblasm" runat="server" Text="ASM" Font-Size="9pt" SkinID="LABEL_Navy_Simple"></asp:Label><br />
</TD><br />
<TD style="BORDER-BOTTOM: gray 1px solid; TEXT-ALIGN: left; position :static ; width: 180px;"><br />
<asp:DropDownList id="Ddlasm" runat="server" Width="165px" Font-Bold="False" Font-Size="9pt" Font-Names="Arial" SkinID="DROPDOWNLIST_LONG" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged = "Ddlasm_SelectedIndexChanged" ></asp:DropDownList><br />
</TD><br />
<TD style="WIDTH: 58px; BORDER-BOTTOM: gray 1px solid; position :static ; " align=right><br />
<asp:Label id="Lbltse" runat="server" Text="TSE" Font-Size="9pt" SkinID="LABEL_Navy_Simple"></asp:Label><br />
</TD><br />
<TD style="BORDER-BOTTOM: gray 1px solid; TEXT-ALIGN: left ; position :static ; width: 180px;"><br />
<asp:DropDownList id="DDLTse" runat="server" Width="165px" Font-Bold="False" Font-Size="9pt" Font-Names="Arial" SkinID="DROPDOWNLIST_LONG" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged ="DDLTse_SelectedIndexChanged"></asp:DropDownList><br />
</TD><br />
when user is tse i make visibility of first two first four control false and rest two is remain true but first four control still consume the space .
please guide
regards
imran khan
|
|
|
|
|
First thing set the position from absolute to satic not the td but you'll have to set it to the control which is placed in the td ok
If you have any problem than reply me ok...
|
|
|
|
|
when i set position , i do not find static it is only absolute , offset from normal ,position in normal.
even through i forcefully set but i did not wordked.
thanks
regards
imran khan
|
|
|
|
|
Do it using javascript.
just like,
trName.style.display="none";
and
trName.style.display="block";
Arun J
|
|
|
|
|
i tried none but i does not display the control that are supposed to visible
regards
imran khan
|
|
|
|
|
Try the following
Take one td in each row and a div inside this td and in this div take a table and put or arrange any control for that row into this table, assign div an Id, and use
div1.style.display='none'or
div1.style.display='' according to given condition.
The structure should be like this:-
like 2nd, and other rows and take div in each.
I think it must help u.
Pls. reply back the response
Sachin Mukhija
Sachin Mukhija
|
|
|
|
|
Problem is resolved as i make td to server control and from code behind file based on condition make those td visibility false.
I did tried for display none but it made visible control to invisible.
i do not know whether it is best approach or not but most importanly it is working for me if any one has better appraoch then this please suggest.
Thank every one.
regards
imran khan
|
|
|
|
|
I know I know, that there are many tutors and discussions on how to screenscrape authenticated pages. And trust me ive seen them all...
But what if the pages are not ASP.NET which use ViewState mechanisms for post backs . I'll give an example site:
http://www.wireless.att.com/my-account
This site uses some olamexecute form which I dont know what is and never heard of. And also note that this site uses 128 bit cipher stregth
certificate. I tried tracing the GET and POST of the site using Fiddler but to no avail. Is it possible to screen scrape these pages using Javascripts
by submitting the credentials by using the id of the controls and then sending an enter keystroke something like an automation macro. If any of you guys
have done it please help me!!!!
Thanx in advance....
Send by Anithegregorian
|
|
|
|
|
|
Hi i tried to convert my vs2003 project in to vs2005,
But its not converting the files,
While converting its getting hang,
The file size is 228mb,
Anyother way is there to convert vs2003 project to vs2005?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
ASP.NET projects in VS2005 are totally different in a number of ways. The full project is 228 MB ? How much of that is code ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for ur reply,
Ya its one erp total application,
so its contained more than 10 modules thats y its having that much size
and i asked one more quest y'day about sqlserver2005 components 32,64 and IA 64 bit cds,
for that u said:
The three lots of CDs represent three different types of processors. Install the version that matches your processor.
Its need to install or no need of that?,
Becoz i am using sqlserver2000 and vs2005,
For that, the processor cd need?,
With that only we can access our database sqlserver in vs2005?,
Plz guide me,beocz i dnt know anything abt those cds
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
modified on Wednesday, February 13, 2008 1:53 AM
|
|
|
|
|
HMagesh wrote: and i asked one more quest y'day about sqlserver2005 components 32,64 and IA 64 bit cds,
Its need to install or no need of that?,
I answered this the other day. I have to say, I'm not sure where your confusion lies. There are three CDs for three differnt processors. Surely you realise you only have one of those processor types ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|