|
in which case set the SelectedValue or SelectedIndex properties on your radio button list
|
|
|
|
|
Karthick_gc wrote: I have a radio button control
Karthick_gc wrote: its one option is selected
I think you forget to write all your soluion !!
Is there only one radio control on your form?
sepel
|
|
|
|
|
i have menu bar in which there are differnt links
i want ....when user will click on any link that link clour will get change
means he will get know which link he has selected
one link code
<td id="tdMnuDashboard" valign="middle" align="center" style="width: 30px; padding-left: 3px;
cursor: pointer;"
colspan="0"
<asp:LinkButton ID="MenuHome" runat="server" Text="Dashboard" ForeColor="#173f79"
CssClass="CSMenu" OnClick="MenuHome_Click" CausesValidation="false"></asp:LinkButton>
</td>
please help me
modified on Monday, February 9, 2009 6:19 AM
|
|
|
|
|
You will have to use CSS and the pseudo-class :visited to specify that.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
By default when you click links on webpage visited link color change.
You can use this style in your header page.
a:visited
{
color:green;
}
sepel
|
|
|
|
|
|
Hey u all suggeste the same..but its not working....
means when i click on any link...color change but when tht page get open it turns back to normal coloue
iwant th colour remain same...while i click ti other link
|
|
|
|
|
Hello
Has anybody worked in Facebook.NET 2.0 and created events using the function events.create()?
Well, I am getting the exception "Invalid Parameter" while using it.
(Declarions & authentication skipped)
Dim NewEvent As New Facebook.Schema.facebookevent()<br />
NewEvent.name = "ThroughCode"<br />
NewEvent.event_type = "1" 'Also tried "Party"<br />
NewEvent.event_subtype = "1" 'Also tried "Birthday Party"<br />
NewEvent.host = "tony"<br />
NewEvent.location = "Sabha"<br />
NewEvent.start_date = StartDt.Date<br />
NewEvent.start_time = 1215929150<br />
NewEvent.end_date = EndDt.Date<br />
NewEvent.end_time = 1215929160<br />
NewEvent.description = "SDFSDF"<br />
Dim CreateEvtStatus As Long = events.create(NewEvent)
I have also tried giving venue details as follows:
<br />
Dim loc As Facebook.Schema.location = New Facebook.Schema.location()<br />
loc.city = "Bombay"<br />
loc.country = "India"<br />
loc.state = "Maharashtra"<br />
loc.zip = "400001"<br />
<br />
NewEvent.venue = loc<br />
But no chance!!!
|
|
|
|
|
Hi Guys,
Sorry if I am posting this in the wrong Forum. I have an web app that makes use of the ReportViewer control. In this control I am calling a Remote SQL 2005 Report. This app works fine if I run in from IIS. I can export without any issues.
We added this app into a Portal which is a Windows App and uses the Web Browser Control to display aspx pages. The page and the report displays just fine, but when I try to export the report using the Export link on the ReportViewer toolbar I get the following Error Message:
ASP.NET session has expired. Can anyone please give me guidance as to what I must do to be able to get this report exportable.
Your help is greatly appreciated.
Elizma
|
|
|
|
|
Hi friends,
I am using Asp.Net 2.0 application. I need to send mail through stored procedures.
I know that config dbmail we can get the sp_send_dbmail inbuilt procedure.But i dont have
in my database that is msdb. I need to config dbMail. For config go to Management in the
sql server 2005.But i dont have dbmail config in the Management. What can i do?? Is any
software need to be installed for sql server 2005 to config dbmail. Kindly give me a
suggestion. Its very urgent. I am wasting one day to config dbmail.
Hope your's reply.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
hi,
How to add background image to a button?
regards,
Bill
|
|
|
|
|
Using CSS. Something like background-image: url("yourimageurl");
|
|
|
|
|
Or use ImageButton . set imagerul property .
|
|
|
|
|
Use ImageButton Control .
sepel
|
|
|
|
|
You can make a button with an image background. You can also make an image that acts as a button-
<img src='test.png' onClick="buttonFunction()">
This can enact a Javascript function or what have you.
Ranjit Viswakumar
Professional Services Specialist
http://hostmysite.com/?utm_source=bb
|
|
|
|
|
hi all ,
I am developing advertising Website-Registering Impression,click etc..here problem is whenever user registering Impression that we are loss the 40% impression and here we doing geolocation also.I attached following code also..Plz reply me if u know...Thanks
using System;
using System.Data;
using System.Data.SqlClient;
using dataacesslayer;
using System.Web;
public partial class Admin_getbase : System.Web.UI.Page
{
string Crid = "";
SqlConnection conn = null;
SqlCommand cmdinsert = null;
protected void Page_Load(object sender, EventArgs e)
{
Response.Cache.SetCacheability(HttpCacheability.NoCache);
SqlParameter paramvalue;
conn = new SqlConnection("Data Source=dddd;Initial Catalog=new;User ID=fg;Password=hg");
if (Request.QueryString["Crid"] != null)
{
Crid = Request.QueryString["Crid"].ToString();
}
try
{
cmdinsert = new SqlCommand("sd_Basreg", conn);
cmdinsert.CommandType = CommandType.StoredProcedure;
paramvalue = new SqlParameter("@Crid", SqlDbType.Int);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = Crid;
cmdinsert.Parameters.Add(paramvalue);
paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = IpAddress();
cmdinsert.Parameters.Add(paramvalue);
conn.Open();
cmdinsert.ExecuteNonQuery();
Response.ContentType = "text/plain"; Response.Write("&imp=registered&");
}
catch (Exception ex)
{
cmdinsert = new SqlCommand("sd_Basreg", conn);
cmdinsert.CommandType = CommandType.StoredProcedure;
paramvalue = new SqlParameter("@Crid", SqlDbType.Int);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = Crid;
cmdinsert.Parameters.Add(paramvalue);
paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt, 50);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = "0";
cmdinsert.Parameters.Add(paramvalue);
conn.Open();
cmdinsert.ExecuteNonQuery();
Response.ContentType = "text/plain"; Response.Write("&imp=registered&");
}
finally
{
cmdinsert.Dispose();
conn.Close();
if (conn.State == ConnectionState.Open)
{
conn.Close();
conn.Dispose();
}
}
}
private string IpAddress()
{
string IPCity = "";
string strIpAddress;
strIpAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
string IpAddress = strIpAddress;
Array IpPart = IpAddress.Split('.');
Int64 IpNum = 16777 * Convert.ToInt64(IpPart.GetValue(0)) + 636 * Convert.ToInt64(IpPart.GetValue(1)) + 26 * Convert.ToInt64(IpPart.GetValue(2)) + Convert.ToInt64(IpPart.GetValue(3));
return IpNum.ToString();
}
}
Create PROCEDURE [dbo].[sd_Basreg]
@Crid int,@IpNum varchar(50)
AS
begin
Insert into S_Base(CrId,IpNum) values(@Crid,@IpNum);
end
Please reply me ...if any optimizing code for this
Raaj
|
|
|
|
|
Raj,
I am sure no one will read the entire code and come up with a solution. You will get good replies if you post only relevant code and explain the issues clearly.
|
|
|
|
|
concept is whenever getting the impression we are insert +1 to database with creative ID,Already Inserted means we are Updating...the problem is In clientSide(Company Client) server is showing impression more than Our Application(we handling other server)....Both server sholud be display same...
that means we are lossing the impression..
Plz help me in this
Raaj
|
|
|
|
|
hi everyone,
I got a System.Web.UI.HtmlControls.HtmlInputPassword control in a page i try to intialize it but no value was shown.
protected global::System.Web.UI.HtmlControls.HtmlInputPassword Password1;
this.Password1.Value = "TOTO";
How can i show init password Control.
thank you for help!!
|
|
|
|
|
Hi,
I've given my img in master page. I can see the img at design time in master page itself. I'm using this master page in my Login.aspx. I've given the proper path for image also. But I could not get this image at run time and design time of my login page. What the problem, which I did? Anybody help me.
this is my master page code
<html>
<body>
<div id = "div1" runat ="server" >
<table width=100% height=4 bgcolor=eeeeee>
<tr valign ="middle"><td width = "20%" height ="15%">
<img src="../Images/Currency2.jpg" border="0"/></td>
<%--<asp:Image runat="server" ImageUrl ="~/Images/Currency2.jpg" BorderStyle = "None" />--%>
<td width = "80%" align ="center"><I><B>BULLET - Receipt And Payment Module</B></I></td>
</tr>
</table>
</div>
Balasubramanian K.
|
|
|
|
|
Try
<img src="~/Images/Currency2.jpg" border="0" runat="server"/>
|
|
|
|
|
Already I'd tried with this symbol. If I use this, I could not see at design time also. Anyother soln. Thanks
Balasubramanian K.
|
|
|
|
|
BalasubramanianK wrote: Already I'd tried with this symbol.
Made it runat=server ? It will work only if runat=server is set.
Could you post your directory structure? Where is this Login page resides? If you come out of the directory where login page exists, can you see the images directory? Problem is the image path. ../Images/Currency2.jpg not found from the login page.
|
|
|
|
|
In my solution, I've two folders such as Images and MasterPages. Currency2.jpg contains in Images folder. Common.master conains in MasterPages folder. My page name is login.aspx, which does not contained in any folder.
I've given my runat = server at my division itself. If I move my image from image folder to masterPage folder, It is working properly. I could not find the problem of path of the image. Because, I never typed the path directly. Using the pick up in visual studio, option I selected the file name.
Balasubramanian K.
|
|
|
|
|
BalasubramanianK wrote: My page name is login.aspx, which does not contained in any folder.
Then the image path should be Images/Currency2.jpg . Try that.
|
|
|
|