|
Yeah...
I am doing like this only
<asp:textbox id="t1" runat="server" width="60px" height="40px" />
but the widht and height is changing after hosting..what to do..
Pinna
|
|
|
|
|
|
Hi
I am looking for a ticker for a webpage which looks like the text is being typed in.
Ive tried searching but can only find the standard news ticker which scrolls across the screen
if any1 knows where I can find one to, would be great!
cheers
|
|
|
|
|
TypeWrite Ticker[^]
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Hi to all
I am very new to .NET Technology...
I have created a client application in vb.net (Console application) for a web service. The service provider send me a certificate file (certificate.cer) to communicate with server. i just copied the same to local folder c:\Myfolder and double click and install it.
i am connecting to the server through a secure vpn connection
When i run the application, i am getting the following error
"An unhandled exception of type 'System.Net.WebException' occurred in system.dll
Additional information: The underlying connection was closed: Could not establish trust relationship with remote server."
Imports System
Imports System.Net.WebClient
Imports System.Security.Cryptography.X509Certificates
Module Module1
Sub Main()
Console.WriteLine("Start")
Dim mycc As New SH_SaleService
Dim certific As String = "C:\Myfolder\certificate.cer"
Dim cert As X509Certificate = X509Certificate.CreateFromCertFile(certific)
mycc.ClientCertificates.Add(cert)
Dim ZZ As String
'Following line is used to check the status of a serialnumber"
ZZ = mycc.getInfoBill("UserID", "Password", "7852455")
Console.WriteLine(ZZ)
Console.WriteLine("End")
End Sub
End Module
My question
is there anything missing in my client program.. and how i can refer a certificate file in vb project
Thanks for replies in advance
|
|
|
|
|
Hi,
How can we unregister/re-register with new values a client script block which was registered through Ajax "ScriptManager.RegisterStartupScript" method.
Regards
|
|
|
|
|
There's nothing like "unregister" script..i.e no method like 'DeRegisterClientScriptBlock' or something...i think you can re-register a script. Try google for it..
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Hi
I have a link which takes a user back to a gridview.
Is there a way to direct a user back to a specific page of the gridview as currently they have to navigate back through the pages in the gridview to get to the one they were previously on.
cheers
|
|
|
|
|
When the user navigate from one page to the next in the datagrid view you may store the current index in session or some where.
Now When the user comes back; check if the stored value is null or not if not set the
PageIndex of the datagrid to the stored value.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
cheers, I used:
page_load
if (Session["gridviewindex"] != null)
{
GridView_roomSchedule.PageIndex = Convert.ToInt32(Session["gridviewindex"]);
}
else
{
gridviewindex = "";
}
store session:
Session["gridviewindex"] = GridView.PageIndex;
thanks for the help!
|
|
|
|
|
in each row's cell i can have more than one hyperlink so how to get this.
|
|
|
|
|
Convert the column in the gridView you want the hyperlinks to be a template column in the source code you can add how much hyperlink you want in side the itemtemplate tags like below.
<pre><asp:templatefield headertext="Header"> <itemtemplate>
<a href="google.com" id="hyl1">Google1</a>
<a href="google.com" id="hyl2">Google2</a>
<a href="google.com" id="hyl3">Google3</a>
</itemtemplate>
</asp:templatefield></pre>
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi,
Is there a possibility to set the attributes of an hyperlink (specifically the 'NavigateUrl' attribute) at run time?
If yes, how?
the question is how to catch the event that the hyperlink was pressed, set the url before he moves to the proper page...?
Thanks,
|
|
|
|
|
1) You can set any attribute of any control using the document.getElementById("controlid").seattribute([attribute],[value]);
2) You can determine a link is pressed or not by adding a onclick event handler to the link.
function linkClicked()
{
alert('hello');
}
<a href="" onclick="linkClicked">Click Me</a>
Hope this helps
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi friedns.
I need to get shipping rates and transit times using FedEx API.
Can anybody guide me or help me with codes or links to implement FedEx?
Thanks in advance
please don't forget to vote on the post that helped you.
|
|
|
|
|
I bet the FedEx site can....
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
hi friends
i am having flash file(.SWF)format gauge chart.how can i connect the flash file in sqlserver database
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
You can't, if you want to use ASP.NET. Try the web dev forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi,
I have used the Response method for exporting to excel sheet. The Date field values are displayed not properly .
Snapshot of the code which I used:
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("Content-Disposition", "attachment; filename=""" & strFileName & """")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Me.EnableViewState = False
Dim oStringWriter As New System.IO.StringWriter
Dim oHtmlTextWriter As New System.Web.UI.HtmlTextWriter(oStringWriter)
Dim a As New System.Web.UI.HtmlTextWriterStyle
Excelgrid.RenderControl(oHtmlTextWriter)
Dim sExcel As String
sExcel &= oStringWriter.ToString()
Response.Write(sExcel)
Response.End()
My requirement is Date to be displayed in dd/MM/yyyy format.
But in exported excel sheet, some values are treated as Date and others (it assumes the first 'Date' part as month and if it is greater than 12, it treats as String instead of Date)
What way I can solve this problem. Any possibility to formatting the columns in excel thru coding and what else can I do to get the values properly.
Expecting ur swift reponse. I need solution for this as soon as possible coz I was dragging with the issue for past 3 days and not find any solution.
Thankfully,
jm
|
|
|
|
|
i have visualstudio2005 in my pc and i have a project that i can not open it in visualstudio2005 because it has this line in the csproj file:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" />
i think i can open it in visualstudio2008. can i open it in visual studio2005???
is there any way?
|
|
|
|
|
I have made an XML File abc.xml;
Now i am editing xml file from the ASPX page (Default.aspx) using Free Text Box control (FTB1). I am using Free Text Box control for editing and formating the texts. These texts are saved in abc.xml file in html format. I am using HTML format because i want to store formating information of these texts. and after that I want to access these texts in an other aspx page.
The problem is that
When I access these data from xml file and display on web page. It display HTML tags also. But I only wants text only (no html tags).
Please help me.
|
|
|
|
|
you can use
TreeView for that
|
|
|
|
|
you will reqiuire to have a XSLT File to dine the html template and merge it with your xml to get the coresponding HTML
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hi friends
i having gauge (dial) chart in flash format.how can i convert in asp.net
and how can i write the code in .net
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|