|
In my web page, I have two buttons for Submit (Web control) and Close (Html button). If I open my web page as maximized size, it is placed well at the bottom of the page. If I minimize the form, it is misplaced at middle of my web page. In that page, I am using 2 table contents. I used these button inside the table and outside the table both. I didn't get proper solution. What I have to do? Thanks in adv.
Balasubramanian K.
|
|
|
|
|
The reason that the button moves around the page is because you havent got its location attribute as 'fixed' instead you probably have it as 'absolute'
We are not a Code Charity
|
|
|
|
|
Hi,
Iam using telerik radgrid control in my application.
iam using the following code in my application.
// arraylist with one record
arraylist al=new arraylist();
al.add(new("fsf"));
// binding radgrid control with arraylist
radgrid1.datasource=al;
my problem is , i have one textbox and one button on the same page.if i click button the value in textbox will be inserted in radgrid1(radgrid control not gridview).
thanks in advance.
madhavi.kona
|
|
|
|
|
madhavi.kona wrote: .if i click button the value in textbox will be inserted in radgrid1(
Do you mean you want to do this or you have already done this?
We are not a Code Charity
|
|
|
|
|
i want to insert record in to the radgridcintrol
can u help me.
madhavi.kona
|
|
|
|
|
bind the control to a datatable which has been populated with field from your table.
We are not a Code Charity
|
|
|
|
|
Hi,I have created an web report using crystalreport.There is an image(for barcode) field in this report.The crystal report datasource is from an xml schema.The datatype of that image field is base64Binary.But the problem is that when I am showing that report with Crystal Report Viewer,the image field is shown empty.But when I Print the report or export the report to any format,it shows the Image(Barcode) properly.Do you have any solution to this problem guys.I am clueless.I have been with this problem for last 3days.Plz help me out.
ARINDAM
ARINDAM
|
|
|
|
|
Hi
I'm using crystalreportviewer on my page. I need to save report as word document on server.
I've written following code. but I'm getting error at highlighted line.
CrEmReport is crystalreportviewer object.
Me.CrEmReport.ParameterFieldInfo.Clear()
Me.CrEmReport.ReportSource =Server.MapPath("EmCallupReport.rpt")
Dim ParamFields As ParameterFields = Me.CrEmReport.ParameterFieldInfo
Dim emTicketId As New ParameterField
emTicketId.Name = "VTICKETID"
Dim emTicketId_Value As New ParameterDiscreteValue
emTicketId_Value.Value = objTicket.ticketId
emTicketId.CurrentValues.Add(emTicketId_Value)
ParamFields.Add(emTicketId)
For Each cnInfo As TableLogOnInfo In Me.CrEmReport.LogOnInfo
cnInfo.ConnectionInfo = ConnInfo
Next
Dim strDate As String = Convert.ToString(objTicket.emRaisedDate)
Dim objReportDoc As New ReportDocument
<big>objReportDoc = CrEmReport.ReportSource</big>
objReportDoc.ExportToDisk(ExportFormatType.PortableDocFormat, "\\app_data\\uploads\\Reports\\Emergency\\Emergency_" & objTicket.deptName & "_" & strDate)
Please someone help me with this code.
Thanks in advance,
Puneri
|
|
|
|
|
WHat does the error say?
We are not a Code Charity
|
|
|
|
|
Unable to cast object of type 'CrystalDecisions.ReportSource.NonHTTPCachedReportSource' to type 'CrystalDecisions.CrystalReports.Engine.ReportDocument'
|
|
|
|
|
hai friends
i have a page"FramePage.aspx"
in that i took two "iframes" namely "iframe1" and "iframe2"
iframe1 has src as default.aspx page and iframe2 has src as default2.aspx
default.aspx refreshes per 2min
after refrshing i raise buttonclick event of default2.aspx page thru default.aspx
for that i written javascript like this
//this function takes a value (ltext) and transmits that to the left hand frame
function tranRight(ltext)
{
//parent.frames("frame1").document.forms("form2").item("TextBox1").value = ltext;
parent.frames("frame1").document.getElementById('Button1').click();
}
and in defaultpage in page load event
i written
ClientScript.RegisterStartupScript(GetType(Capture), "close", "tranRight('upload');", True)
its working fine in localhost
but when i upload it into website it doesnt work
what would be the problem
it is working in localhost but not in website
plz help me
thanks in advance
vijay
|
|
|
|
|
Code:
foreach ( strSuggestion in functionReturnValue)
{
dblSimilarity = WordSimilarity(strWord, strSuggestion);
i = intSuggestionCount;
while (dblSimilarity > dblSimilarityArray(i))
{
if (i < intSuggestionCount)
{
strSuggestionArray(i + 1) = strSuggestionArray(i);
dblSimilarityArray(i + 1) = dblSimilarityArray(i);
}
strSuggestionArray(i) = strSuggestion;
dblSimilarityArray(i) = dblSimilarity;
i = i - 1;
if (i == -1)
{
break; // TODO: might not be correct. Was : Exit Do
}
}
}
functionReturnValue = strSuggestionArray;
return functionReturnValue;
return functionReturnValue;
}
|
|
|
|
|
rockram wrote: foreach ( strSuggestion in functionReturnValue)
foreach (String strSuggestion in functionReturnValue)
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Hi use this code i have encrypted my password:
private string EncryptPassword(string Password)
{
System.Security.Cryptography.SHA1CryptoServiceProvider objcrypwd = new System.Security.Cryptography.SHA1CryptoServiceProvider();
byte[] Encr = objcrypwd.ComputeHash(System.Text.Encoding.UTF8.GetBytes(Password));
return Convert.ToBase64String(Encr);
}
Now i like to decrypt ther password,
Any one help me to decrypt...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I don't think, We will get a hashed data to original format
Anyway why do you want to decrypt?
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Becoz if enduser wil forget his password have to forward
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Have your "forgot password" logic create a New password and mail the new password.
Otherwise you are trying to solve something, that can't be solved.
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
It's hashing not encryption. So you can't take the original text back from a hash.
|
|
|
|
|
I am very new to ASP.Net MVC framework.
I am facing a problem.
I have a page with 2 dropdownlist and one gridview. Now I want to load the 1st dropdownlist with data from one table, 2nd dropdownlist with data from other table and the gridview with data from another table.
Can one controlleraction can get all the data from three different table into a sigle viewdata.
please help me.
thank you
|
|
|
|
|
So do you want to avoid drop-down lists and get the data from all the three tables to view the same in gridview?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
No i want the data from table1 into the dropdownlist1, from table2 into the dropdownlist2 and from table3 into the gridview
|
|
|
|
|
ok. just put one button click event.
1) Firt get connected to the database
2) Get the required data from table1, store into a dataset for dropdownlist 1
3) Get the required data from table2, store into a dataset for dropdownlist2
4) Get the required data from table3, store into a dataset for gridview.
5) You can either bind the dataset to the corresponding controls in the above respective steps itself or at the last.
So, at one button click event, you can achieve all the three. There may be other ways to do the same. But I think this is the easy way.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
How to run exe using a .NET code
i mean if i hav a exe in some location and i wanna run it through my code
|
|
|
|
|
paresh_sarjani wrote: Again interesting question
It not much interesting. Is it ? Please put a meaningful title when you post messages.
paresh_sarjani wrote: How to run exe using a .NET code
Looks at the Process class. Process.Start would do it.
|
|
|
|
|
<td id="HeaderLogo" runat="server"></td>
Bellow code written in Page_Load
I will use either option 1 or 2
option 1:
//For Header Image or Logo
HeaderLogo.BgColor = "#FFAAFF";
HeaderLogo.Style.Value = "background-image: url(images/f06.jpg);background-repeat:no-repeat;";
now I want to set For above image width,height,allignment(horizontal and vertical)
option 2:
//For Header Text
HeaderLogo.InnerText = "Test Header";
HeaderLogo.VAlign = "top";
HeaderLogo.Align = "center";
HeaderLogo.BgColor = "#FFAAFF";
now I want to set FontColor and FontSize also in option 2
You get the best out of others when you give the best of yourself.
|
|
|
|