16,004,977 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by thekoko89 (Top 30 by date)
thekoko89
10-May-19 17:36pm
View
i just post a solution, i hope with that everything is clear what i was asking.
Best
thekoko89
20-Mar-17 19:39pm
View
Thank you!!!
thekoko89
18-Dec-15 8:29am
View
the rest of the code is asp.net code this is the only javascript :/
thekoko89
18-Dec-15 7:02am
View
its not that on the end of the code i try to print the state of the check box and when i check it says true but when i uncheck it stays true, does not goes to false
thekoko89
19-Sep-15 14:42pm
View
maybe you need to read my question few more times to understand it. Its my choice and i will ask anywhere i want.... if that bothers you i cant help you there ;)
best
thekoko89
19-Sep-15 14:13pm
View
i can ask anywhere i want since there is category server-2012 i can ask about it.
thekoko89
18-Jun-13 20:01pm
View
thanks pall i find solution i post it but i will check your solution too
thekoko89
18-Jun-13 13:12pm
View
i need it to create an invoice document so i will need Cyrillic characters... so that code works perfectly with standard characters but Cyrillic characters are missing
thekoko89
18-Jun-13 12:46pm
View
actualy i opened the PDF but its the same no Cyrillic letters
thekoko89
18-Jun-13 12:42pm
View
Deleted
says not PDF or file corupted
thekoko89
18-Jun-13 12:33pm
View
the code save the PDF from the HTML. You want me to save the HTML in text file and call the file from the String reader?
thekoko89
18-Jun-13 12:28pm
View
The PDF documet is created from the HTML. It would be great to use that HTML. In the HTML have Cyrillic letters and if that shows on the pdf then i can make the rest of the changes. Tnx
thekoko89
18-Jun-13 12:15pm
View
mhm tnx for clearing that to me :) do you have some solution how to make this working?
thekoko89
18-Jun-13 12:15pm
View
Deleted
mhm tnx for clearing that to me :) do you have some solution how to make this working?
thekoko89
10-Jun-13 8:52am
View
Tnx.. I will try all of this 1st will test the timeout, then if still have the same problem then i will try the rest and will tell you what happend :)
thekoko89
8-Jun-13 13:52pm
View
its just simple login i create the session and then redirect. But i dont lose it there. After a few not exactly number of refreshes in part of the site where you need to be logged to can get in i lose my session.
thekoko89
7-Jun-13 9:51am
View
This was the right thing that i ask just after that row of code i type:
lblmsg.Text = myCurrentLanguage.Culture.Name;
and i got the current input language that is set my keyboard on it.
Thanks
thekoko89
24-May-13 14:58pm
View
i post here cuz they get me realy mad hostgator live support sucks :/. i gess i should type mail.emall.mk as smtp
thekoko89
6-Mar-13 19:35pm
View
The debagger was good choice there was some mistake in references... tnx a lot
thekoko89
6-Mar-13 19:10pm
View
I did that but there is still error on the line Page.Header.Controls.Add(javascriptRef);..
this code works perfectly on other masterpage :S
thekoko89
6-Mar-13 18:23pm
View
Ok my mistake miss understanding...
thekoko89
26-Feb-13 20:36pm
View
dont work :S
thekoko89
26-Feb-13 19:59pm
View
hmm doesnt work i just need to refresh the same page that is typed in the web browser not the ifreme i must mention
thekoko89
26-Feb-13 19:06pm
View
I work ASP.NET WebForms. Here is the code where i close the colorbox and where i want to get the Current URL from the web browser (Not the url of the iframe that will be closed when colorbox will close)
LiteralControl javascriptRef = new LiteralControl("<script type='text/javascript' src='Dodatoci za Master/scripts/colorboxclose.js'></script>");
string url = HttpContext.Current.Request.Url.AbsoluteUri;
Page.Header.Controls.Add(javascriptRef);
Page.ClientScript.RegisterStartupScript(Page.GetType(), null, url, true);
this is code inside the login usercontrol (this usercontrol loads with iframe in the colorbox)
thekoko89
24-Feb-13 23:44pm
View
it looks like that there is no problem but in code behind i cant call the 2nd user contol by her ID :S but tnx for trying to help me i fix it with listBox in the 1st user control and popoluating it in .aspx with asp:SqlDataSource
thekoko89
24-Feb-13 22:53pm
View
P.S. The problem that i am facing is that in code behind of the 1st control i cant call by ID the second control
thekoko89
24-Feb-13 22:52pm
View
yea here is the code from the 1st control:
<%@ Register Src="Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/CompanyProducts.ascx" TagName="Products" TagPrefix="uc2" %>
<asp:Label ID="lblInfo" runat="server">
<uc1:Pager ID="TopPager" runat="server" Visible="False" />
<asp:DataList ID="List" runat="server" RepeatColumns="2" DataKeyField="CompanyID">
<itemtemplate>
<br>
</br>
<div id="prodavnici">
<div class="pslika">
<asp:Image ID="Image1" ImageUrl='<%#Eval("LogoFileName") %>' runat="server" Width="144"
Height="121" />
</div>
<asp:Label ID="lblProductNum" runat="server">
<div class="popis">
<div class="pime">
<%# HttpUtility.HtmlEncode(Eval("Name").ToString()) %>
</div>
<div class="pime">
<%# HttpUtility.HtmlEncode(Eval("Description").ToString()) %></div>
</div>
<div id="labelproizvodi">
Производи:</div>
</div>
<div>
<uc2:Products ID="produkti" runat="server" />
</div>
<uc1:Pager ID="BottomPager" runat="server" />
the code behind for this control is:
protected void Page_Load(object sender, EventArgs e)
{
PopulateControls();
}
private void PopulateControls()
{
// Retrieve Page from the query string
string page = Request.QueryString["Page"];
if (page == null) page = "1";
int howManyPages = 1;
// pager links format
string firstPageUrl = "";
string pagerFormat = "";
DataTable dt = DataAccess.GetCompanies(page, out howManyPages);
if (dt.Rows.Count > 0)
{
List.DataSource = dt;
List.DataBind();
firstPageUrl = Link.ToCompanies("1");
pagerFormat = Link.ToCompanies("{0}");
}
else
{
lblInfo.Text = "Во моментов нема компании за прелистување.";
}
// get first page url and pager format
// Display pager controls
TopPager.Show(int.Parse(page), howManyPages, firstPageUrl, pagerFormat, true);
BottomPager.Show(int.Parse(page), howManyPages, firstPageUrl, pagerFormat, true);
}
protected void List_ItemDataBound(object sender, DataListItemEventArgs e)
{
string id = List.DataKeys[e.Item.ItemIndex].ToString();
DataTable table;
produkti.table = DataAccess.GetTop5ProductsFromCompany(Int32.Parse(id));
}
the code for the component Products that i try to put inside the 1st control is:
<asp:DataList ID="List" runat="server" DataKeyField="ProductID">
<itemtemplate>
<asp:PlaceHolder ID="Holder" runat="server">
<div style="width: 50px; height: 50px">
<asp:Image ID="Image1" ImageUrl='<%#Eval("ImageFileName") %>' runat="server" />
</div>
<div class="naslov">
<%# HttpUtility.HtmlEncode(Eval("Name").ToString()) %>
<br></br>
</div>
<!--<asp:Label ID="userSuccess" runat="server" Text="dsdd"> -->
</div>
and the codebihid for this control
thekoko89
20-Feb-13 22:03pm
View
gess we understand each other i was trying to explain what exactly is my problem.... there is no need for fight... tnx for understanding i am in a bug pressure at the mom
thekoko89
20-Feb-13 21:54pm
View
i gess mabey they will not decrypt but will use the same TEST_PASS to compare those posted values...
thekoko89
20-Feb-13 21:50pm
View
my merchant service ask me to do this and generate a checksum usind MD5 with TEST_PASS :S so i realy need some code to do this its the only way
Show More